Toolbar.HasExpandedActionView Property

Definition

Check whether this Toolbar is currently hosting an expanded action view.

public virtual bool HasExpandedActionView { [Android.Runtime.Register("hasExpandedActionView", "()Z", "GetHasExpandedActionViewHandler")] get; }
[<get: Android.Runtime.Register("hasExpandedActionView", "()Z", "GetHasExpandedActionViewHandler")>]
member this.HasExpandedActionView : bool

Property Value

true if the Toolbar has an expanded action view

Attributes

Remarks

Check whether this Toolbar is currently hosting an expanded action view.

An action view may be expanded either directly from the android.view.MenuItem MenuItem it belongs to or by user action. If the Toolbar has an expanded action view it can be collapsed using the #collapseActionView() method.

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

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