O'Reilly logo

Pro Android 3 by Sayed Y. Hashimi, Dave MacLean, Satya Komatineni

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

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 ...

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