Aracılığıyla paylaş


Toolbar.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 toolbar theme

Attributes

Remarks

Property getter documentation:

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

Property setter documentation:

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

Java documentation for android.widget.Toolbar.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