public static enum DeviceConfig.ScreenSize extends java.lang.Enum<DeviceConfig.ScreenSize>
Standard sizes for the screen size qualifier.
Modifier and Type | Field and Description |
---|---|
int |
height |
int |
landscapeHeight |
int |
landscapeWidth |
int |
width |
Modifier and Type | Method and Description |
---|---|
static DeviceConfig.ScreenSize |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DeviceConfig.ScreenSize[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeviceConfig.ScreenSize small
public static final DeviceConfig.ScreenSize normal
public static final DeviceConfig.ScreenSize large
public static final DeviceConfig.ScreenSize xlarge
public final int width
public final int height
public final int landscapeWidth
public final int landscapeHeight
public static DeviceConfig.ScreenSize[] values()
for (DeviceConfig.ScreenSize c : DeviceConfig.ScreenSize.values()) System.out.println(c);
public static DeviceConfig.ScreenSize 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