I have layout that is called Main.XML and I set the orientation to portrait in my AndroidManifest.xml. I designed this layout for Honeycomb too and placed it in the layout-xlarge-mdpi folder, but I want to use the Main.XML in layout-xlarge-mdpi only in landscape orientation.
Now, how can do this?
Thanks
You can place your
main.xmlinlayout-xlarge-land, then it will be used only in landscape orientationRefer Supporting Multiple Screens (Using configuration qualifiers)
Edit:
If you provide an
main.xmlinlayoutfolder and anothermain.xmlinlayout-xlarge-land, thenfor an
extra large landscape orientationit will take themain.xml from layout-xlarge-landfor
all other, that is in landscape or portrait orientationit will take themain.xml from layoutRefer Providing Alternative Resources for more details