Standard Navigation Action Bar Activity

In this section, you examine the nature of a standard navigation action bar. You set up an activity and set its action bar navigation mode as standard. You then see what the standard navigation looks like and examine its behavior.

As in the case of ListNavigationActionBarActivity, because your base classes are carrying most of the work, it is easy to implement and test the standard action bar navigation activity. You need the following additional file:

  • StandardNavigationActionBarActivity.java: This is the implementation file for configuring the action bar as a standard navigation mode action bar (Listing 10–17).

You also need to update the following two files:

  • BaseActionBarActivity.java: Uncomment the ...

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.