AndroidUiModes
-
Cmn
object AndroidUiModes
List of ui modes available to be used in the preview.
Note: the constants are lifted from Android API: android.content.res.Configuration.uiMode.
Summary
Constants |
||
|---|---|---|
const Int |
UI_MODE_NIGHT_MASK = 48Bits that encode the night mode. |
Cmn
|
const Int |
UI_MODE_NIGHT_NO = 16
|
Cmn
|
const Int |
|
Cmn
|
const Int |
UI_MODE_NIGHT_YES = 32
|
Cmn
|
const Int |
|
Cmn
|
const Int |
UI_MODE_TYPE_CAR = 3
|
Cmn
|
const Int |
|
Cmn
|
const Int |
UI_MODE_TYPE_MASK = 15Bits that encode the mode type. |
Cmn
|
const Int |
|
Cmn
|
const Int |
|
Cmn
|
const Int |
|
Cmn
|
const Int |
|
Cmn
|
const Int |
|
Cmn
|
Constants
UI_MODE_NIGHT_NO
const val UI_MODE_NIGHT_NO = 16: Int
UI_MODE_NIGHT_MASK value that corresponds to the {@docRoot}guide/topics/resources/providing-resources.html#NightQualifier resource qualifier.
UI_MODE_NIGHT_UNDEFINED
const val UI_MODE_NIGHT_UNDEFINED = 0: Int
UI_MODE_NIGHT_MASK value indicating that no mode type has been set.
UI_MODE_NIGHT_YES
const val UI_MODE_NIGHT_YES = 32: Int
UI_MODE_NIGHT_MASK value that corresponds to the {@docRoot}guide/topics/resources/providing-resources.html#NightQualifier resource qualifier.
UI_MODE_TYPE_APPLIANCE
const val UI_MODE_TYPE_APPLIANCE = 5: Int
UI_MODE_TYPE_MASK value that corresponds to the {@docRoot}guide/topics/resources/providing-resources.html#UiModeQualifier resource qualifier.
UI_MODE_TYPE_CAR
const val UI_MODE_TYPE_CAR = 3: Int
UI_MODE_TYPE_MASK value that corresponds to the {@docRoot}guide/topics/resources/providing-resources.html#UiModeQualifier resource qualifier.
UI_MODE_TYPE_DESK
const val UI_MODE_TYPE_DESK = 2: Int
UI_MODE_TYPE_MASK value that corresponds to the {@docRoot}guide/topics/resources/providing-resources.html#UiModeQualifier resource qualifier.
UI_MODE_TYPE_NORMAL
const val UI_MODE_TYPE_NORMAL = 1: Int
UI_MODE_TYPE_MASK value that corresponds to {@docRoot}guide/topics/resources/providing-resources.html#UiModeQualifier resource qualifier specified.
UI_MODE_TYPE_TELEVISION
const val UI_MODE_TYPE_TELEVISION = 4: Int
UI_MODE_TYPE_MASK value that corresponds to the {@docRoot}guide/topics/resources/providing-resources.html#UiModeQualifier resource qualifier.
UI_MODE_TYPE_UNDEFINED
const val UI_MODE_TYPE_UNDEFINED = 0: Int
UI_MODE_TYPE_MASK value indicating that no mode type has been set.
UI_MODE_TYPE_VR_HEADSET
const val UI_MODE_TYPE_VR_HEADSET = 7: Int
UI_MODE_TYPE_MASK value that corresponds to the {@docRoot}guide/topics/resources/providing-resources.html#UiModeQualifier resource qualifier.
UI_MODE_TYPE_WATCH
const val UI_MODE_TYPE_WATCH = 6: Int
UI_MODE_TYPE_MASK value that corresponds to the {@docRoot}guide/topics/resources/providing-resources.html#UiModeQualifier resource qualifier.