public enum Layout extends java.lang.Enum<Layout>
TabSwitcher.| Enum Constant and Description |
|---|
PHONE_LANDSCAPE
The layout, which is used on smartphones and phablet devices, when in landscape mode.
|
PHONE_PORTRAIT
The layout, which is used on smartphones and phablet devices, when in portrait mode.
|
TABLET
The layout, which is used on tablets.
|
| Modifier and Type | Method and Description |
|---|---|
static Layout |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Layout[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Layout PHONE_PORTRAIT
public static final Layout PHONE_LANDSCAPE
public static final Layout TABLET
public static Layout[] values()
for (Layout c : Layout.values()) System.out.println(c);
public static Layout 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