ActivityColorMode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public enum ActivityColorMode
type ActivityColorMode =
- Inheritance
-
ActivityColorMode
Fields
| Name | Value | Description |
|---|---|---|
| Default | 0 | Value for colorMode indicating that the activity should use the default color mode (sRGB, low dynamic range). Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| WideColorGamut | 1 | Value of colorMode indicating that the activity should use a wide color gamut if the presentation display supports it. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Hdr | 2 | Value of colorMode indicating that the activity should use a high dynamic range if the presentation display supports it. Note: This does not impact SurfaceViews or SurfaceControls, as those have their own independent HDR support. Important: Although this value was added in API 26, it is strongly recommended to avoid using it until API 34 which is when HDR support for the UI toolkit was officially added. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.