viewswitcher is probably better for what you are wanting to do http://developer.android.com/reference/android/widget/ViewSwitcher.html you can even assign animations for the views as they come and go if you want.
On Jul 30, 3:51 pm, Victoria Busse <[email protected]> wrote: > Hi there, > > I am trying to populate a ViewStub with a new view depending on which > ImageButton is clicked, but as I just discovered ViewStubs I am not exactly > sure how this would work... > > e.g. can I provide the ViewStub with different inflatedIds and within the > onClick event of a Button inflate the ViewStub by calling a specific > inflatedId??? > > If someone could give me hand, that would be really great. > > Thank you very much in advance :o) -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

