public class DeviceConfig extends Object
Supports device configuration for Robolectric tests.
Configuration](http://robolectric.org/device-configuration/)
Modifier and Type | Class and Description |
---|---|
static class |
DeviceConfig.ScreenSize
Standard sizes for the screen size qualifier.
|
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_DENSITY |
static DeviceConfig.ScreenSize |
DEFAULT_SCREEN_SIZE |
Modifier and Type | Method and Description |
---|---|
static DeviceConfig.ScreenSize |
getScreenSize(Configuration configuration) |
public static final int DEFAULT_DENSITY
public static final DeviceConfig.ScreenSize DEFAULT_SCREEN_SIZE
public static DeviceConfig.ScreenSize getScreenSize(Configuration configuration)