O'Reilly logo

Android Application Development: A Beginner’s Tutorial by Budi Kurniawan

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 6

The Action Bar

The action bar is a rectangular window area that contains the application icon, application name, menus and other navigation buttons. The action bar normally appears at the top of the window.

This chapter explains how to decorate the action bar on Android with API level 11 (Android 3.0) or higher.

Overview

The action bar is represented by the android.app.ActionBar class. It should look familiar to any Android user. Figure 6.1 shows the action bar of the Messaging application and Figure 6.2 shows that of Calendar.

Figure 6.1: The action bar of Messaging

Figure 6.2: The action bar of Calendar

The application icon and name ...

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