Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Starting with version 3, Android gained a major new UI paradigm called the action bar (Figure 6.1). The action bar sits at the top of the screen and contains the app name, the app icon, navigation elements (such as tabs), and a series of buttons for quick actions. Using this native UI element, Android developers can quickly add functionality to their apps and create a platform-consistent user interface.
Figure 6.1 The action bar running on Android 4.01. Shown are a single action item, the overflow menu, and the drop-down that appears after tapping the overflow menu.
Tip
The action bar is automatically added to your app if it’s using one of the Holo themes. Theme.Holo is the default for all apps with a target SDK version of 11 or higher (Android version 3.0).