Language

AlertDialog.Builder.SetInverseBackgroundForced(Boolean) Method

Definition

This method was deprecated in API level 23.

[Android.Runtime.Register("setInverseBackgroundForced", "(Z)Landroid/app/AlertDialog$Builder;", "GetSetInverseBackgroundForced_ZHandler")]
public virtual Android.App.AlertDialog.Builder SetInverseBackgroundForced(bool useInverseBackground);
[<Android.Runtime.Register("setInverseBackgroundForced", "(Z)Landroid/app/AlertDialog$Builder;", "GetSetInverseBackgroundForced_ZHandler")>]
abstract member SetInverseBackgroundForced : bool -> Android.App.AlertDialog.Builder
override this.SetInverseBackgroundForced : bool -> Android.App.AlertDialog.Builder

Parameters

useInverseBackground
Boolean

boolean: whether to use the inverse background

Returns

this Builder object to allow for chaining of calls to set methods

Attributes

Remarks

This method was deprecated in API level 23. This flag is only used for pre-Material themes. Instead, specify the window background using on the alert dialog theme.

Sets the alert dialog to use the inverse background, regardless of what the contents is.

Android reference for android.app.AlertDialog.Builder.setInverseBackgroundForced.

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