O'Reilly logo

The Android™ Developer’s Cookbook: Building Applications with the Android SDK, Second Edition by Nelson To, Ronan Schwarz, James Steele, Phil Dutson

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

7. Advanced User Interface Techniques

The landscape of Android-powered devices has changed drastically in the last few years. Where phones powered by Android once dominated, the advent of high-resolution small screens, watches, tablets, and even TV screens (through the use of Google TV) have taken applications and their layouts to new heights. This chapter describes creating a custom view, animation, accessing the accessibility features, using gestures, and drawing 3D images. It then discusses tablets and how to display multiple fragments, using an activity wrapper, and using dialog fragments.

Android Custom View

As discussed in Chapter 5, “User Interface Layout,” Android has two types of views: View objects and ViewGroup objects. A custom view ...

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