I am new to android programming, and I am using eclipse. I am using ViewSwitcher, and able to switch back and forth between views.
My question is with eclipse.
In eclipse, how can I edit the different layouts graphically? Only the first layout is visible when I select the res->layout->main.xml.
I know there is a work around (or may be even the right approach); having two layout files, and switching between them. But that is not my intention right now.
Thanks for any suggestions. Karthik
I would not create a view graphically. It is really easy to type in the XML and then you know you are making exactly what you want. Use the GUI to check your work. I would certainly build the two layouts in separate files and then paste them into the one with the view switcher when you have it just as you want it.