Example usage for Java android.support.v4.view MenuItemCompat fields, constructors, methods, implement or subclass
The text is from its open source code.
int | SHOW_AS_ACTION_NEVER Never show this item as a button in an Action Bar. |
int | SHOW_AS_ACTION_IF_ROOM Show this item as a button in an Action Bar if the system decides there is room for it. |
int | SHOW_AS_ACTION_ALWAYS Always show this item as a button in an Action Bar. |
int | SHOW_AS_ACTION_WITH_TEXT When this item is in the action bar, always show it with a text label even if it also has an icon specified. |
int | SHOW_AS_ACTION_COLLAPSE_ACTION_VIEW This item's action view collapses to a normal menu item. |
MenuItem | setActionView(MenuItem item, View view) Set an action view for this menu item. |
boolean | setShowAsAction(MenuItem item, int actionEnum) Call MenuItem#setShowAsAction(int) MenuItem.setShowAsAction() . |