共用方式為


ActionMenuView.PopupTheme Property

Definition

Specifies the theme to use when inflating popup menus.

public virtual int PopupTheme { [Android.Runtime.Register("getPopupTheme", "()I", "GetGetPopupThemeHandler")] get; [Android.Runtime.Register("setPopupTheme", "(I)V", "GetSetPopupTheme_IHandler")] set; }
[<get: Android.Runtime.Register("getPopupTheme", "()I", "GetGetPopupThemeHandler")>]
[<set: Android.Runtime.Register("setPopupTheme", "(I)V", "GetSetPopupTheme_IHandler")>]
member this.PopupTheme : int with get, set

Property Value

resource identifier of the theme used to inflate popup menus, or 0 if menus are inflated against the action menu view theme

Attributes

Remarks

Property getter documentation:

Java documentation for android.widget.ActionMenuView.getPopupTheme().

Property setter documentation:

Specifies the theme to use when inflating popup menus. By default, uses the same theme as the action menu view itself.

Java documentation for android.widget.ActionMenuView.setPopupTheme(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