Udostępnij za pośrednictwem


WallpaperColors.HintSupportsDarkText 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 text is preferred over the current wallpaper for best presentation.

[Android.Runtime.Register("HINT_SUPPORTS_DARK_TEXT", 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 HintSupportsDarkText = 1;
[<Android.Runtime.Register("HINT_SUPPORTS_DARK_TEXT", 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 HintSupportsDarkText : Android.App.WallpaperColorsHint

Field Value

Value = 1

Implements

Attributes

Remarks

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

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

Java documentation for android.app.WallpaperColors.HINT_SUPPORTS_DARK_TEXT.

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