normally we put main xml file in res/layout folder.
I have a main file in res/layout-land folder.I need to use that file as main xml.so which code need to change ?
i have attached a screenshot also below.
You can name the files in res/layout anything that you like, for example: altscreen.xml Then in R.java you will get constant within the "layout" with the XML file's name, for example:
i have alrady created a main xml in res/layout-land folder.but there is no any specific variable created for that in R java class.
below is R java class
below is my screenshot .look there is main xml file located in res/layout folder