Dialog.AddContentView(View, ViewGroup+LayoutParams) Method

Definition

Add an additional content view to the screen.

[Android.Runtime.Register("addContentView", "(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V", "GetAddContentView_Landroid_view_View_Landroid_view_ViewGroup_LayoutParams_Handler")]
public virtual void AddContentView(Android.Views.View view, Android.Views.ViewGroup.LayoutParams? params);
[<Android.Runtime.Register("addContentView", "(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V", "GetAddContentView_Landroid_view_View_Landroid_view_ViewGroup_LayoutParams_Handler")>]
abstract member AddContentView : Android.Views.View * Android.Views.ViewGroup.LayoutParams -> unit
override this.AddContentView : Android.Views.View * Android.Views.ViewGroup.LayoutParams -> unit

Parameters

view
View

View: The desired content to display. This value cannot be null.

params
ViewGroup.LayoutParams

ViewGroup.LayoutParams: Layout parameters for the view. This value may be null.

Attributes

Remarks

Add an additional content view to the screen. Added after any existing ones in the screen -- existing views are NOT removed.

Android reference for android.app.Dialog.addContentView.

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