Home | History | Annotate | Download | only in appbar

Lines Matching full:menu

33   menu item. This lesson describes how to add two versatile components:
44 The action initially appears as a button or menu item, but when the user clicks the
47 displaying a menu.
68 "{@docRoot}guide/topics/resources/menu-resource.html#item-element"><code>&lt;item&gt;</code></a>
69 element in the toolbar's menu resource, as <a href="actions.html">Add Action
72 "{@docRoot}guide/topics/resources/menu-resource.html#item-element"><code>&lt;item&gt;</code></a>
94 icon. If the widget is in the overflow menu, the app should display the widget
95 as a menu item. When the user interacts with the action view, it
115 room in the app bar, the app adds the action to the overflow menu.) When the
116 user taps the icon or menu item, the widget expands to fill the toolbar,
141 public boolean onCreateOptionsMenu(Menu menu) {
142 getMenuInflater().inflate(R.menu.main_activity_actions, menu);
144 <strong>MenuItem searchItem = menu.findItem(R.id.action_search);</strong>
150 return super.onCreateOptionsMenu(menu);
157 "{@docRoot}guide/topics/resources/menu-resource.html#item-element"><code>&lt;item&gt;</code></a>
180 public boolean onCreateOptionsMenu(Menu menu) {
181 getMenuInflater().inflate(R.menu.options, menu);
200 MenuItem actionMenuItem = menu.findItem(R.id.myActionItem);
205 // Any other things you have to do when creating the options menu?
217 "{@docRoot}guide/topics/resources/menu-resource.html#item-element"><code>&lt;item&gt;</code></a>
218 element in the toolbar's menu resource, as described in <a href=