How can I get all the children of a GridLayout? In my GridLayout, I'm adding views with blahblah.addView(child)
, not through XML. The GridLayout is set out a bit like this:
+++++++++ ++++++++++ ++++++++++ |ImageView| |ImageView| |ImageView| | | | | | | ++++++++++ ++++++++++ ++++++++++ [TextView] [Textview] [TextView]
I need a button to play an animation on all the imageViews within the GridLayout. Don't worry, I already have that covered. So I need to do child.startAnimation(anim)
on all the children of the GridLayout. How can I do this Programatically?
Thanks
0 comments:
Post a Comment