共用方式為


Activity.OnCreatePanelView(Int32) Method

Definition

Default implementation of android.view.Window.Callback#onCreatePanelView for activities.

[Android.Runtime.Register("onCreatePanelView", "(I)Landroid/view/View;", "GetOnCreatePanelView_IHandler")]
public virtual Android.Views.View? OnCreatePanelView (int featureId);
[<Android.Runtime.Register("onCreatePanelView", "(I)Landroid/view/View;", "GetOnCreatePanelView_IHandler")>]
abstract member OnCreatePanelView : int -> Android.Views.View
override this.OnCreatePanelView : int -> Android.Views.View

Parameters

featureId
Int32

Which panel is being created.

Returns

Implements

Attributes

Remarks

Default implementation of android.view.Window.Callback#onCreatePanelView for activities. This simply returns null so that all panel sub-windows will have the default menu behavior.

Java documentation for android.app.Activity.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