Chapter     15

Android’s DrawerLayout Class: Using a UI Drawer in Your UI Design

The Android DrawerLayout class is also a recent addition to the Android OS as of the Android 4.0 Ice Cream Sandwich release. It was developed to permit developers to put their UI elements into a drawer that can slide on-screen when needed and then slide out of the way, off-screen, allowing more screen real estate to be available for the application’s primary content and use. If you want to take a quick peek at what your DrawerLayout is going to look like, you can take a look at Figure 15-22.

This DrawerLayout class is often used with the ListView UI class, so we’ll learn about ListView objects as well in the chapter, since we have not yet covered ListView UI objects ...

Get Pro Android UI now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.