Hi dude I created different UI’s for portrait mode and landscape, How can I load in run time.?
I mean while changing orientation re creating the Activity I don’t want to recreate it , How can I get previous data and display it in changed orientation?
Hi dude I created different UI’s for portrait mode and landscape, How can I
Share
Put your portrait UI in
res/layoutfolder & landscape UI inres/layout-landfolder. The file name must be same. Android system will handle the automatic switching of the layout at run time.For more detail about this read the artical in android developer. http://developer.android.com/guide/topics/resources/providing-resources.html