Language

AlertDialog.ThemeDeviceDefaultDark Field

Definition

Caution

deprecated

Special theme constant for #AlertDialog(Context, int): use the device's default alert theme with a dark background.

[Android.Runtime.Register("THEME_DEVICE_DEFAULT_DARK")]
[System.Obsolete("deprecated")]
public const int ThemeDeviceDefaultDark = 4;
[<Android.Runtime.Register("THEME_DEVICE_DEFAULT_DARK")>]
[<System.Obsolete("deprecated")>]
val mutable ThemeDeviceDefaultDark : int

Field Value

Value = 4
Attributes

Remarks

This constant was deprecated in API level 23. Use R.style.Theme_DeviceDefault_Dialog_Alert.

Special theme constant for AlertDialog(Context,int): use the device's default alert theme with a dark background.

Android reference for android.app.AlertDialog.THEME_DEVICE_DEFAULT_DARK.

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