title: Android multiple screen design
body: <p>I understand there is plenty of documentation about designing for multiple screen support in Android. and I have read the Android guide <a href="http://developer.android.com/guide/practices/screens_support.html" rel="nofollow noreferrer">here</a> as well as a number of similar questions such as <a href="https://stackoverflow.com/questions/8428096/design-layout-for-multiple-screens">this</a></p>
  
  <p>However I'm still a little confused as to how I should implement it for my application. I plan to target the following device configurations</p>
  
  <p><img src="https://i.stack.imgur.com/KMA5U.png" alt="enter image description here"> </p>
  
  <p>Am I correct in thinking I will need to structure the project layouts as follows:</p>
  
  <ul>
  <li><p>Medium density Normal screens HVGA 320x480 (160dpi):</p>
  
  <pre><code>res/layout-mdpi (320 x 480 )
  res/layout-land-mdpi (480 x 320 )
  </code></pre></li>
  <li><p>High density Normal screens WVGA800 480x800 (x854) (240 dpi)</p>
  
  <pre><code>res/layout-hdpi (480 x 800)
  res/layout-land-hdpi (800 x 480)
  </code></pre></li>
  </ul>
  
  <p>But what about the Medium density, large screen devices?</p>
  
  <p>I plan to use sets of both high and medium density drawables too. My primary concern at this early stage is using suitable background images for each layout. For example, to support <strong>both the 480x800 and 480x854 sizes</strong>, I plan to simply use an ImageView as the background such as:</p>
  
  <pre><code>&lt;ImageView
      android:id="@+id/imageView1"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:src="@drawable/bg"
      android:scaleType="center"/&gt;
  </code></pre>
  
  <p>The 'bg' drawable will always be <strong>480x854</strong> and by using: </p>
  
  <pre><code>android:scaleType="center"
  </code></pre>
  
  <p>I'm hoping this will take care of those two screen sizes. Whereby the image keeps its original appearance but is centred on the 480x800 screens. I will lose some pixels off the image but as long as the image isn't scaled then that suits my needs.</p>
  
  <p>I plan to have a set of 320x480 assets for the normal screens.</p>
  
  <p>I'm just hoping I'm following the correct procedure here so I appreciate any info/tips from you guys. Thanks in advance</p>