http://developer.android.com/resources/articles/layout-tricks-stubs.html
05.11.2011 2:26, Abhi пишет:
Hi Kostya, I have a GalleryView in my ViewStub and I dynamically add images to the Gallery. I would like to control from a menu option, the visibility of the complete ViewStub view. So basically, when the ViewStub is up displaying the gallery and I press the menu option, the whole view gets hidden but the content (i.e. Gallery items) remain in the stub. On pressing menu option again, the whole view is displayed again with the gallery items selected earlier. I don't know what you mean by replacing the stub with<include> and toggle its contents' visibility. Could you elaborate a little more? Thanks, Abhi
-- Kostya Vasilyev -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en