Activity.OnPrepareOptionsMenu(IMenu) Activity.OnPrepareOptionsMenu(IMenu) Method

Definition

Prepare the Screen's standard options menu to be displayed.

[Android.Runtime.Register("onPrepareOptionsMenu", "(Landroid/view/Menu;)Z", "GetOnPrepareOptionsMenu_Landroid_view_Menu_Handler")]
public virtual bool OnPrepareOptionsMenu (Android.Views.IMenu menu);
abstract member OnPrepareOptionsMenu : Android.Views.IMenu -> bool
override this.OnPrepareOptionsMenu : Android.Views.IMenu -> bool

Parameters

menu
IMenu IMenu

The options menu as last shown or first initialized by onCreateOptionsMenu().

Returns

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

See also