to top
Android APIs
Sample Code >

ActionBarCompat - Action Bar Compatibility

← Back

This sample shows how to use the action bar design pattern on pre-API 11 devices and the built-in ActionBar on devices supporting API 11 or greater. The example 'compatible' action bar, instantiated on pre-Android 3.0 devices, uses the same menu resource-based action item definition mechanism as the new framework API, even supporting the android:showAsAction attribute to a limited extent.

Subdirectories

Files