O'Reilly logo

Android Design Patterns: Interaction Design Solutions for Developers by Greg Nudelman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 14

Tablet Patterns

Tablets are a huge area of mobile technology—these devices deserve their own separate book. The patterns included in this chapter are specific for small and large tablets with more screen area than a smartphone. Designing for tablets is one area in which a team willing to experiment can rapidly overtake the competition in creating a superior experience that is most closely suited to the unique tablet shape and device capabilities. Before tackling this chapter, review Chapter 3, “Android Fragmentation,” for a refresher on the hot zones and most likely grip positions offered by various devices.

14.1 Pattern: Fragments

To address device fragmentation, Android raced ahead of the competition by offering the somewhat ironically named Fragments UI framework. Fragments forms the primary “pure Android” pattern of User Interface (UI) design.

How It Works

The content on the screen is broken out into tiles called fragments. Each fragment is positioned based on the device size and orientation to best occupy the available space. Scrolling of the individual tiles is limited so that essential elements, such as action buttons, do not scroll offscreen.

Example

My favorite example of the Fragments UI is the Google Play app. It is an example of a truly of a “responsive” native app that works surprisingly well on a variety of devices, as shown in Figures 14-1 and 14-2.

In the horizontal orientation on the 7-inch tablet pictured in Figure 14-2, the elements of the Google ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required