ninanina
0
Q:

how to get child from layout in android

LinearLayout layout = setupLayout();
int count = layout.getChildCount();
View v = null;
for(int i=0; i<count; i++) {
    v = layout.getChildAt(i);
    //do something with your child element
}
0

New to Communities?

Join the community