Need help with the xml/views

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

Need help with the xml/views

Postby Grey Goo » Sun Jul 26, 2009 3:43 pm

So far in my game it just starts right into the gameplay when it's launched, but now I am trying to finalize the game and I'm having trouble using xml and views with it.

I read the tutorials and I know how to make a single basic app using an xml layout, but I couldn't find anything that goes into more advanced view usage. What I want to be able to do is have a view for the main menu page, then click a button on there that goes to a view with options, or the main game, etc.

I tried looking at ViewSwitcher and a few other classes, but it looked like you could only use ViewSwitcher for 2 views and the others were more like cycling through views instead of switching to the selected one.

Any advice on how to implement one of those classes or maybe a different way of doing the menus would be appreciated.

Grey Goo
Junior Developer
Junior Developer
Posts: 11
Joined: Mon May 11, 2009 3:56 am


Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 3 guests