ActionBar.Hide Method

Definition

Hide the ActionBar if it is currently showing.

[Android.Runtime.Register("hide", "()V", "GetHideHandler")]
public abstract void Hide ();
[<Android.Runtime.Register("hide", "()V", "GetHideHandler")>]
abstract member Hide : unit -> unit
Attributes

Remarks

Hide the ActionBar if it is currently showing. If the window hosting the ActionBar does not have the feature Window#FEATURE_ACTION_BAR_OVERLAY it will resize application content to fit the new space available.

Instead of calling this function directly, you can also cause an ActionBar using the overlay feature to hide through View#SYSTEM_UI_FLAG_FULLSCREEN View.SYSTEM_UI_FLAG_FULLSCREEN. Hiding the ActionBar through this system UI flag allows you to more seamlessly hide it in conjunction with other screen decorations.

Java documentation for android.app.ActionBar.hide().

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