You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Configuration class can be used to easily collect information about the device's current state among other things. This is mostly a convenience class to simplify getting certain information.
Example
// Get the display's smallest size in dipConfiguration.getDisplaySW();
// Get the display's largest size in dipConfiguration.getDisplayLW();
// Get the display height in dipConfiguration.getDisplayHeight();
// Get the display width in dipConfiguration.getDisplayWidth();
// Check whether or not the display is currently in landscape stateConfiguration.inLandscape();