Share via


WallpaperColors.HintSupportsDarkTheme Field

Definition

Caution

This constant will be removed in the future version. Use Android.App.WallpaperColorsHint enum directly instead of this field.

Specifies that dark theme is preferred over the current wallpaper for best presentation.

[Android.Runtime.Register("HINT_SUPPORTS_DARK_THEME", ApiSince=31)]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.WallpaperColorsHint enum directly instead of this field.", true)]
public const Android.App.WallpaperColorsHint HintSupportsDarkTheme = 2;
[<Android.Runtime.Register("HINT_SUPPORTS_DARK_THEME", ApiSince=31)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.WallpaperColorsHint enum directly instead of this field.", true)>]
val mutable HintSupportsDarkTheme : Android.App.WallpaperColorsHint

Field Value

Value = 2

Implements

Attributes

Remarks

Specifies that dark theme is preferred over the current wallpaper for best presentation.

eg. A launcher may set its drawer color to black if this flag is specified.

Java documentation for android.app.WallpaperColors.HINT_SUPPORTS_DARK_THEME.

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.

Applies to