xref: /aosp_15_r20/development/samples/browseable/ActionBarCompat-Basic/_index.jd (revision 90c8c64db3049935a07c6143d7fd006e26f8ecca)
1*90c8c64dSAndroid Build Coastguard Worker
2*90c8c64dSAndroid Build Coastguard Workerpage.tags="ActionBarCompat-Basic"
3*90c8c64dSAndroid Build Coastguard Workersample.group=UI
4*90c8c64dSAndroid Build Coastguard Worker@jd:body
5*90c8c64dSAndroid Build Coastguard Worker
6*90c8c64dSAndroid Build Coastguard Worker<p>
7*90c8c64dSAndroid Build Coastguard Worker
8*90c8c64dSAndroid Build Coastguard Worker            This sample shows you how to use ActionBarCompat to create a basic Activity which
9*90c8c64dSAndroid Build Coastguard Worker            displays action items. It covers inflating items from a menu resource, as well as adding
10*90c8c64dSAndroid Build Coastguard Worker            an item in code. Items that are not shown as action items on the Action Bar are
11*90c8c64dSAndroid Build Coastguard Worker            displayed in the action bar overflow.
12*90c8c64dSAndroid Build Coastguard Worker
13*90c8c64dSAndroid Build Coastguard Worker        </p>
14