次の方法で共有


Toolbar.CollapseActionView Method

Definition

Collapse a currently expanded action view.

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

Remarks

Collapse a currently expanded action view. If this Toolbar does not have an expanded action view this method has no effect.

An action view may be expanded either directly from the android.view.MenuItem MenuItem it belongs to or by user action.

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

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