Chapter 30. Exploring ActionBar

ActionBar is a new API in Android 3.0 SDK. It allows you to customize the title bar of an activity. Prior to the 3.0 SDK release, the title bar of an activity merely contained the title of an activity.

As the Android SDK matures with each new release, it is taking on more and more desktop UI patterns. In a desktop application, you see a menu bar and a number of action icons. It is this desktop title/menu bar pattern that is emulated in the ActionBar implementation.

Android ActionBar is particularly modeled after the menu/title bar of a web browser. The ActionBar is designed in such a way that you can apply the familiar browser-like navigation patterns to your applications.

Note

In this chapter we refer to both ActionBar ...

Get Pro Android 3 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.