title: Creating multi-screen support app android
body: <p>I am creating a app in Android that must support multiple screens.</p>
  
  <p>For this purpose i have read many answers and one which i like most is state that i can create  different folders in <strong>res</strong> folder by following name,</p>
  
  <p>For small screens <strong>layout-small</strong>,</p>
  
  <p>For large screens <strong>layout-large</strong>,</p>
  
  <p>For extra large screens <strong>layout-xlarge</strong></p>
  
  <p>and i have to create different layouts for different screens with <strong>same</strong> name.
  e.g mylayout.xml</p>
  
  <p>and i have to put following code in manifest.xml file</p>
  
  <pre><code>&lt;supports-screens android:smallScreens="true" 
        android:normalScreens="true" 
        android:largeScreens="true"
        android:xlargeScreens="true"
        android:anyDensity="true" /&gt;
  </code></pre>
  
  <p>and finally i just need to write following lines in my Activity file,</p>
  
  <pre><code>  setContentView(R.layout.mylayout);
  </code></pre>
  
  <p>Now when i run this app in different size screens it should acquire layouts from different folders as per screen resolution.</p>
  
  <p>But this is not happening in my case.It takes only layout that defined in <strong>layout</strong> folder.</p>
  
  <p>Please can some one explains me why this happening and how can i solve this issue so that my app can run effectively on all size screens.</p>