Files
android_development/samples/ActionBarCompat/_index.jd
Dirk Dougherty 16f78acfe1 Add _index.jd files to a few test samples.
Change-Id: Iffdc702c29319e03f22705d7c615ff2f0ff69e33
2013-09-04 21:56:39 -07:00

14 lines
805 B
Plaintext

page.tags="ActionBar", "Compatibility", "Support Library"
sample.tags="UI", "ActionBar", "Support Library"
sample.group="Input"
@jd:body
<p>This sample shows how to use the action bar design pattern on pre-API 11 devices and the built-in
<a href="../../../reference/android/app/ActionBar.html">ActionBar</a> on devices supporting API
11 or greater. The example 'compatible' action bar, instantiated on pre-Android 3.0 devices,
uses the same <a href="../../../guide/topics/resources/menu-resource.html">menu resource</a>-based
action item definition mechanism as the new framework API, even supporting the
<code>android:showAsAction</code> attribute to a limited extent.</p>
<img alt="" src="../images/ActionBarCompat1.png" height="320" />
<img alt="" src="../images/ActionBarCompat2.png" height="320" />