Share via


ActionBar.HideOffset Property

Definition

Return the current vertical offset of the action bar. -or- Set the current hide offset of the action bar.

public virtual int HideOffset { [Android.Runtime.Register("getHideOffset", "()I", "GetGetHideOffsetHandler")] get; [Android.Runtime.Register("setHideOffset", "(I)V", "GetSetHideOffset_IHandler")] set; }
[<get: Android.Runtime.Register("getHideOffset", "()I", "GetGetHideOffsetHandler")>]
[<set: Android.Runtime.Register("setHideOffset", "(I)V", "GetSetHideOffset_IHandler")>]
member this.HideOffset : int with get, set

Property Value

The action bar's offset toward its fully hidden state in pixels

Attributes

Remarks

Property getter documentation:

Return the current vertical offset of the action bar.

The action bar's current hide offset is the distance that the action bar is currently scrolled offscreen in pixels. The valid range is 0 (fully visible) to the action bar's current measured #getHeight() height (fully invisible).

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

Property setter documentation:

Set the current hide offset of the action bar.

The action bar's current hide offset is the distance that the action bar is currently scrolled offscreen in pixels. The valid range is 0 (fully visible) to the action bar's current measured #getHeight() height (fully invisible).

Java documentation for android.app.ActionBar.setHideOffset(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