How to repeats a layout?
My layout
contains a spinner
and an editText
.I want this spinner
and editText
fields repeats 1 or 2 times in an activity based on s开发者_运维知识库ome condition.Is it possible?
You can use the <include>
tag. Here is good article about it. And if you want to hide them a truntime just change the visibility tag
精彩评论