AlertDialog.SetView Method

Definition

Overloads

SetView(View)

Set the view to display in that dialog.

SetView(View, Int32, Int32, Int32, Int32)

Set the view to display in that dialog, specifying the spacing to appear around that view.

SetView(View)

Set the view to display in that dialog.

[Android.Runtime.Register("setView", "(Landroid/view/View;)V", "GetSetView_Landroid_view_View_Handler")]
public virtual void SetView (Android.Views.View view);
abstract member SetView : Android.Views.View -> unit
override this.SetView : Android.Views.View -> unit

Parameters

view
View
Attributes

Remarks

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

SetView(View, Int32, Int32, Int32, Int32)

Set the view to display in that dialog, specifying the spacing to appear around that view.

[Android.Runtime.Register("setView", "(Landroid/view/View;IIII)V", "GetSetView_Landroid_view_View_IIIIHandler", ApiSince=3)]
public virtual void SetView (Android.Views.View view, int viewSpacingLeft, int viewSpacingTop, int viewSpacingRight, int viewSpacingBottom);
abstract member SetView : Android.Views.View * int * int * int * int -> unit
override this.SetView : Android.Views.View * int * int * int * int -> unit

Parameters

view
View

The view to show in the content area of the dialog

viewSpacingLeft
Int32

Extra space to appear to the left of view

viewSpacingTop
Int32

Extra space to appear above view

viewSpacingRight
Int32

Extra space to appear to the right of view

viewSpacingBottom
Int32

Extra space to appear below view

Attributes

Remarks

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