Update browseable samples for lmp-docs
Synced to commit df5e5013422b81b4fd05c0ac9fd964b13624847a. Includes new samples for Android Auto. Change-Id: I3fec46e2a6b3f196682a92f1afd91eb682dc2dc1
This commit is contained in:
@@ -1,15 +1,12 @@
|
||||
|
||||
|
||||
|
||||
page.tags="ActionBarCompat-Basic"
|
||||
sample.group=UI
|
||||
@jd:body
|
||||
|
||||
<p>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.</p>
|
||||
<p>The activity in this sample extends from
|
||||
{@link android.support.v7.app.ActionBarActivity}, which provides the
|
||||
functionality necessary to display a compatible action bar on devices
|
||||
running Android 2.1 and higher.</p>
|
||||
<p>
|
||||
|
||||
This sample shows you how to use ActionBarCompat to create a basic Activity which
|
||||
displays action items. It covers inflating items from a menu resource, as well as adding
|
||||
an item in code. Items that are not shown as action items on the Action Bar are
|
||||
displayed in the action bar overflow.
|
||||
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user