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. :]

