public static enum ImageView.ScaleType extends Enum<ImageView.ScaleType>
| Enum Constant and Description |
|---|
CENTER |
CENTER_CROP |
CENTER_INSIDE |
FIT_CENTER |
FIT_END |
FIT_START |
FIT_XY |
MATRIX |
| Modifier and Type | Method and Description |
|---|---|
static ImageView.ScaleType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImageView.ScaleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageView.ScaleType CENTER
public static final ImageView.ScaleType CENTER_CROP
public static final ImageView.ScaleType CENTER_INSIDE
public static final ImageView.ScaleType FIT_CENTER
public static final ImageView.ScaleType FIT_END
public static final ImageView.ScaleType FIT_START
public static final ImageView.ScaleType FIT_XY
public static final ImageView.ScaleType MATRIX
public static ImageView.ScaleType[] values()
for (ImageView.ScaleType c : ImageView.ScaleType.values()) System.out.println(c);
public static ImageView.ScaleType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullCopyright © 2008-2013. All Rights Reserved.