Home | History | Annotate | Download | only in MultiResolution
      1 <p>A sample application that shows how to use resource directory qualifiers to
      2 show different resources to different screen configurations (layout orientation,
      3 screen resolution, screen density, etc.).
      4 
      5 It demonstrates using:
      6 <ul>
      7 <li><a href="../../../reference/android/graphics/NinePatch.html">9-Patch</a>
      8   drawables for creating scalable/stretchable graphics.</li>
      9 <li>Proper layout <a href="../../../guide/practices/screens_support.html#density-independence">size units</a>,
     10   such as scale-independent pixels (<code>sp</code>) and density-independent pixels (<code>dip</code>)</li>
     11 <li><a href="../../../guide/practices/screens_support.html#qualifiers">Resource directory qualifiers</a>
     12   such as <code>-land</code>, <code>-mdpi</code>, and <code>-hdpi</code> to customize
     13   resources such as layouts and graphical assets for different screen configurations</li>
     14 <li>Resource directory qualifiers such as <code>-v4</code> and <code>-v6</code>
     15   to show different application icons based on platform version, for
     16   consistency with system icon styles.</li>
     17 </ul>
     18 </p>
     19 
     20 <img alt="" src="../images/MultiResolution.png"/>
     21