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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.