Coding New XML Layout

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

Coding New XML Layout

Postby travisjames » Thu Apr 02, 2009 10:07 pm

I am currently learning my way around the Android SDK and right now I have a program that has a basic layout with 2 TextViews, 2 Buttons, and a EditText. I have it to where one of the buttons opens a new layout named main_2.xml, and my real question was that after I have the layout switch to main_2.xml, how do I code for the Buttons, and such in main_2.xml?

Do I need to create another .java file for that layout or something like that?

Any help is appreciated and an example would be nice too. :]
Junior Developer
Junior Developer
Posts: 17
Joined: Thu Apr 02, 2009 10:00 pm
Location: Cordova, Tennessee


Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 3 guests