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
sure how this would work...

e.g. can I provide the ViewStub with different inflatedIds and within
onClick event of a Button inflate the ViewStub by calling a specific

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 Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at

To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to