Example usage for Java android.support.v4.view Menu fields, constructors, methods, implement or subclass
The text is from its open source code.
int | NONE Value to use for group and item identifier integers when you don't care about them. |
MenuItem | add(CharSequence title) |
MenuItem | add(int titleRes) |
MenuItem | add(int groupId, int itemId, int order, int titleRes) |
MenuItem | add(int groupId, int itemId, int order, CharSequence title) |
SubMenu | addSubMenu(CharSequence title) |
SubMenu | addSubMenu(int titleRes) |
SubMenu | addSubMenu(int groupId, int itemId, int order, CharSequence title) |
SubMenu | addSubMenu(int groupId, int itemId, int order, int titleRes) |
void | clear() Remove all existing items from the menu, leaving it empty as if it had just been created. |
MenuItem | findItem(int id) |
MenuItem | getItem(int index) |
void | setGroupCheckable(int group, boolean checkable, boolean exclusive) Control whether a particular group of items can show a check mark. |
int | size() Get the number of items in the menu. |