saa*_*saa 2 android android-layout android-linearlayout
LinearLayout
getChildAt(index)
方法总是返回子视图的第0个位置.如何保持我LinearLayout
的儿童观点getChildAt(index)
.
任何帮助.谢谢
也许它可以帮到你.
这是你的线性布局.
int childcount = ll.getChildCount();
for (int i=0; i < childcount; i++){
View v = ll.getChildAt(i);
}
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
9179 次 |
最近记录: |