public static enum AspectFrameLayout.SHOW_MODE extends java.lang.Enum<AspectFrameLayout.SHOW_MODE>
Enum Constant and Description |
---|
FULL
Show the content and fill the Layout.
|
REAL
Show the content with same ratio with preview size.
|
Modifier and Type | Method and Description |
---|---|
static AspectFrameLayout.SHOW_MODE |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AspectFrameLayout.SHOW_MODE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AspectFrameLayout.SHOW_MODE FULL
public static final AspectFrameLayout.SHOW_MODE REAL
public static AspectFrameLayout.SHOW_MODE[] values()
for (AspectFrameLayout.SHOW_MODE c : AspectFrameLayout.SHOW_MODE.values()) System.out.println(c);
public static AspectFrameLayout.SHOW_MODE 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