Академический Документы
Профессиональный Документы
Культура Документы
27/Enero/2015
Cesreo Hernndez Alfaro
26 NOVEMBER 2012
The Devices and Displays page introduces the concept of density-independence. For example, although the
Nexus 4, Nexus 7, and Motorola XOOM all have a similar pixel resolution (1280x768, 1280x800, and
1280x800 respectively), they have vastly different screens. Instead of thinking in pixels, think in dips
(density-independent pixels)that way, its much easier to conceptualize the difference between Nexus 4
(640x384 dp), Nexus 7 (960x600dp), and Nexus 10 or the Motorola XOOM (1280x800 dp).
Following the 48dp rhythm discussed in Metrics and Grids helps take some of the guesswork out of sizing
elements, especially for tablets. When in doubt, use multiples of 48dp (or 16dp for a finer grid) for sizing
elements horizontally and vertically. For example, when showing sparse content on larger screens, consider
using generous side margins of 96dp or 144dp. Or when deciding how wide your master pane should be in a
master/detail layout for 10 tablets, see how your master content looks and feels with a width of 240dp or
288dp.
27/Enero/2015
Cesreo Hernndez Alfaro
The Multi-pane Layouts guide discusses use cases and examples for combining related views into a single
screen to simultaneously improve app navigation and make optimal use of the available screen real estate. It
also discusses strategies for laying out content across both portrait and landscape, all while maintaining
functional parity across orientations. Since users enjoy using tablets in both portrait and landscape
orientations, its even more important to react properly to orientation changes than with phones.
Lastly, the Downloadable Stencils offer designers a great starting point for high-fidelity mockups, complete
with reference device outlines, correctly sized action bars, and more.
The Designing Effective Navigation classaimed more at the initial design phase of the app creation
processoffers a methodology for effectively planning and grouping screens on tablets, and even
showsexample wireframes for a simple news reader application following this methodology.
The classes Building a Dynamic UI with Fragments and Designing for Multiple Screens demonstrate how to
use fragments in conjunction with Androids resources framework. They show how to easily choose between
tablet and handset layouts at runtime while maximizing code reuse and minimizing your application size
using resource aliases. They also demonstrate techniques for adapting UI flows based on the current layout.
27/Enero/2015
Cesreo Hernndez Alfaro
Lastly, while not precisely a training class, the Supporting Tablets and Handsets document offers even more
information about some of these key best practices. And if youre the type of developer that would prefer to
skip the text and jump right into the code, you can even add a Master/Detail flow, complete with handset and
tablet support, to your app with just a few clicks using the Android Developer Tools for Eclipse.
http://android-developers.blogspot.mx/2012/11/designing-for-tablets-were-here-to-help.html