I want to set one layout for sw360dp in portrait, and one layout for sw360dp in landscape.
I have read: http://developer.android.com/guide/practices/screens_support.html#qualifiers and http://developer.android.com/training/multiscreen/screensizes.html and How do I specify different layouts for portrait and landscape orientations?
I followed the guide but I cannot make it success. I have made the following directories and layout files:
/res/layout/mylayout.xml
/res/layout-sw360dp/mylayout.xml
/res/layout-sw360dp-land/mylayout.xml
I can see on my device (a phone) with large screen that use the "layout-sw360dp" layout. However when I rotate my device to horizontal, it cannot change to show my "layout-sw360dp-land" layout, it just use the "layout-sw360dp" and rotate it horizontally.
I am using Android Studio to develop the app.
Thank you.