Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)

ActionBarCompat-Basic

This sample demonstrates how to create a basic action bar that displays action items. The sample shows how to inflate items from a menu resource, and how to add items programatically. To reduce clutter, rarely used actions are displayed in an action bar overflow.

The activity in this sample extends from ActionBarActivity , which provides the functionality necessary to display a compatible action bar on devices running Android 2.1 and higher.