title: Android: How to set different layout for different orientation?
body: <p>I want to set one layout for sw360dp in portrait, and one layout for sw360dp in landscape.</p>
  
  <p>I have read: <a href="http://developer.android.com/guide/practices/screens_support.html#qualifiers" rel="nofollow noreferrer">http://developer.android.com/guide/practices/screens_support.html#qualifiers</a> and <a href="http://developer.android.com/training/multiscreen/screensizes.html" rel="nofollow noreferrer">http://developer.android.com/training/multiscreen/screensizes.html</a> and <a href="https://stackoverflow.com/questions/2124046/how-do-i-specify-different-layouts-for-portrait-and-landscape-orientations">How do I specify different layouts for portrait and landscape orientations?</a></p>
  
  <p>I followed the guide but I cannot make it success. I have made the following directories and layout files:</p>
  
  <blockquote>
    <p>/res/layout/mylayout.xml</p>
    
    <p>/res/layout-sw360dp/mylayout.xml</p>
    
    <p>/res/layout-sw360dp-land/mylayout.xml</p>
  </blockquote>
  
  <p>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.</p>
  
  <p>I am using Android Studio to develop the app.</p>
  
  <p>Thank you.</p>