Tuesday, 10 September 2013

Counting visible elements in a layout

Counting visible elements in a layout

Suppose in my LinearLayout (say parentLayout) there are 5 other
LinearLayouts (say childLayout), where only one of them are visible at the
moment. The other layouts depend on some external event to make them
visible. How do I count the number of childLayout in the parentLayout that
are visible ?

No comments:

Post a Comment