In my program I want to have a main menu with buttons that lead to
other views like settings and the main game window, and then have
buttons on those that switch back to the main menu view. I know how to
go from the main menu to a different view, but I tried calling the
activity's setContentView from a view and I couldn't. My main game
view doesn't have any xml, is there a way to mix xml and java in a
view so I could have a button that I can add a listener to in my game
view?

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to