Share via


ViewConfiguration.HasPermanentMenuKey Property

Definition

Report if the device has a permanent menu key available to the user.

public virtual bool HasPermanentMenuKey { [Android.Runtime.Register("hasPermanentMenuKey", "()Z", "GetHasPermanentMenuKeyHandler")] get; }
[<get: Android.Runtime.Register("hasPermanentMenuKey", "()Z", "GetHasPermanentMenuKeyHandler")>]
member this.HasPermanentMenuKey : bool

Property Value

true if a permanent menu key is present, false otherwise.

Attributes

Remarks

Report if the device has a permanent menu key available to the user.

As of Android 3.0, devices may not have a permanent menu key available. Apps should use the action bar to present menu options to users. However, there are some apps where the action bar is inappropriate or undesirable. This method may be used to detect if a menu key is present. If not, applications should provide another on-screen affordance to access functionality.

Java documentation for android.view.ViewConfiguration.hasPermanentMenuKey().

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