1 page.title=Devices and Displays 2 @jd:body 3 4 <p>Android powers millions of phones, tablets, and other devices in a wide variety of screen sizes and 5 form factors. By taking advantage of Android's flexible layout system, you can create apps that 6 gracefully scale from large tablets to smaller phones.</p> 7 8 <img src="{@docRoot}design/media/devices_displays_main.png"> 9 10 <div class="vspace size-2"> </div> 11 12 <div class="layout-content-row"> 13 <div class="layout-content-col span-4"> 14 15 <h4>Be flexible</h4> 16 <p>Stretch and compress your layouts to accommodate various heights and widths.</p> 17 18 </div> 19 <div class="layout-content-col span-5"> 20 21 <h4>Optimize layouts</h4> 22 <p>On larger devices, take advantage of extra screen real estate. Create compound views that combine 23 multiple views to reveal more content and ease navigation.</p> 24 25 </div> 26 <div class="layout-content-col span-4"> 27 28 <h4>Assets for all</h4> 29 <p>Provide resources for different screen densities (<acronym title="Dots per inch">DPI</acronym>) to 30 ensure that your app looks great on any device.</p> 31 32 </div> 33 </div> 34 35 <img src="{@docRoot}design/media/devices_displays_density.png"> 36 37 <h4>Strategies</h4> 38 <p>So where do you begin when designing for multiple screens? One approach is to work in the base 39 standard (medium size, <acronym title="Medium density (160 dpi)">MDPI</acronym>) and scale it up or 40 down for the other buckets. Another approach is to start with the device with the largest screen 41 size, and then scale down and figure out the UI compromises you'll need to make on smaller screens.</p> 42 <p>For more detailed information on this topic, please visit <a href="http://developer.android.com/guide/practices/screens_support.html">Supporting Multiple 43 Screens</a>.</p> 44