Compartilhar via


DialogPreference.OnCreateDialogView Method

Definition

Creates the content view for the dialog (if a custom content view is required).

[Android.Runtime.Register("onCreateDialogView", "()Landroid/view/View;", "GetOnCreateDialogViewHandler")]
protected virtual Android.Views.View? OnCreateDialogView ();
[<Android.Runtime.Register("onCreateDialogView", "()Landroid/view/View;", "GetOnCreateDialogViewHandler")>]
abstract member OnCreateDialogView : unit -> Android.Views.View
override this.OnCreateDialogView : unit -> Android.Views.View

Returns

The content View for the dialog.

Attributes

Remarks

Creates the content view for the dialog (if a custom content view is required). By default, it inflates the dialog layout resource if it is set.

Java documentation for android.preference.DialogPreference.onCreateDialogView().

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

See also