Share via


Window.ICallback.OnCreatePanelView(Int32) Method

Definition

Instantiate the view to display in the panel for 'featureId'.

[Android.Runtime.Register("onCreatePanelView", "(I)Landroid/view/View;", "GetOnCreatePanelView_IHandler:Android.Views.Window/ICallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Android.Views.View OnCreatePanelView (int featureId);
[<Android.Runtime.Register("onCreatePanelView", "(I)Landroid/view/View;", "GetOnCreatePanelView_IHandler:Android.Views.Window/ICallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnCreatePanelView : int -> Android.Views.View

Parameters

featureId
Int32

Which panel is being created.

Returns

view The top-level view to place in the panel.

Attributes

Remarks

Instantiate the view to display in the panel for 'featureId'. You can return null, in which case the default content (typically a menu) will be created for you.

Java documentation for android.view.Window.Callback.onCreatePanelView(int).

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

  • <xref:Android.Views.Window.ICallback.OnPreparePanel(System.Int32%2c+Android.Views.View%2c+Android.Views.View)>