public enum ViewType extends java.lang.Enum<ViewType>
ViewInfo.getViewType()
Enum Constant and Description |
---|
ACTION_BAR_MENU
A menu item in the action bar.
|
ACTION_BAR_OVERFLOW
The overflow menu button in the action bar.
|
ACTION_BAR_OVERFLOW_MENU
A menu item in the action bar overflow popup.
|
NAVIGATION_BAR_BACK
The back button in the Navigation Bar.
|
NAVIGATION_BAR_HOME
The home button in the Navigation Bar.
|
NAVIGATION_BAR_RECENTS
The recents button in the Navigation Bar.
|
SYSTEM_UNKNOWN
A view added by the framework.
|
USER
A view that is part of the user's layout.
|
Modifier and Type | Method and Description |
---|---|
static ViewType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ViewType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ViewType SYSTEM_UNKNOWN
public static final ViewType USER
public static final ViewType ACTION_BAR_OVERFLOW
public static final ViewType ACTION_BAR_MENU
public static final ViewType ACTION_BAR_OVERFLOW_MENU
public static final ViewType NAVIGATION_BAR_BACK
public static final ViewType NAVIGATION_BAR_HOME
public static final ViewType NAVIGATION_BAR_RECENTS
public static ViewType[] values()
for (ViewType c : ViewType.values()) System.out.println(c);
public static ViewType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null