Anatomy of an ActionBar

Figure 10–1 shows a typical action bar in tabbed navigation mode.

Image

Figure 10–1. An activity with a tabbed action bar

This screenshot is taken from the actual working example that is presented later in the chapter. The action bar in Figure 10–1 has five parts. These parts are as follows (from left to right):

  • Home Icon area: The icon at upper left on the action bar is sometimes called the Home icon. This is similar to a web site navigation context, where clicking the Home icon takes you to a starting point. When you transfer the user to the home activity, don't start a new home activity; instead, transfer to it by using ...

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