SlidingDrawer

If you've used an un-themed Android installation (such as the emulator), or most themed versions of Android, then you've used a SlidingDrawer. It's the widget that drives the opening and closing of the launcher menu. While it is not exactly a layout in its own right, a SlidingDrawer allows you to make a large number of lesser-used widgets very quickly available to the user. This makes it an important widget to consider when developing a new user interface.

Generally, it'll be a decision between using a menu and a SlidingDrawer. While a menu is great for displaying action items, a SlidingDrawer can display any content you want. However, a SlidingDrawer also has some restrictions on its use. For example, it requires that you place it ...

Get Android User Interface Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.