Lines Matching refs:Menu
21 import android.view.Menu;
29 * Activity scoped singleton that manages action bar menus. Each menu item is controlled by a
37 * Add one or more {@link MenuItemController} to the actionbar menu.
47 * Inflates {@link Menu} for the activity.
49 * This method should be called during {@link Activity#onCreateOptionsMenu(Menu)}.
51 public void onCreateOptionsMenu(Menu menu) {
53 controller.onCreateOptionsItem(menu);
58 * Prepares the popup to displays all required menu items.
60 * This method should be called during {@link Activity#onPrepareOptionsMenu(Menu)} (Menu)}.
62 public void onPrepareOptionsMenu(Menu menu) {
64 final MenuItem menuItem = menu.findItem(controller.getId());
72 * Handles click action for a menu item.