다음을 통해 공유


Activity.OpenOptionsMenu Method

Definition

Programmatically opens the options menu.

[Android.Runtime.Register("openOptionsMenu", "()V", "GetOpenOptionsMenuHandler")]
public virtual void OpenOptionsMenu ();
[<Android.Runtime.Register("openOptionsMenu", "()V", "GetOpenOptionsMenuHandler")>]
abstract member OpenOptionsMenu : unit -> unit
override this.OpenOptionsMenu : unit -> unit
Attributes

Remarks

Programmatically opens the options menu. If the options menu is already open, this method does nothing.

Java documentation for android.app.Activity.openOptionsMenu().

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