Language

ActionBar.Elevation Property

Definition

Get the Z-axis elevation of the action bar in pixels.

public virtual float Elevation { [Android.Runtime.Register("getElevation", "()F", "GetGetElevationHandler")] get; [Android.Runtime.Register("setElevation", "(F)V", "GetSetElevation_FHandler")] set; }
[<get: Android.Runtime.Register("getElevation", "()F", "GetGetElevationHandler")>]
[<set: Android.Runtime.Register("setElevation", "(F)V", "GetSetElevation_FHandler")>]
member this.Elevation : single with get, set

Property Value

Elevation value in pixels

Attributes

Remarks

Get the Z-axis elevation of the action bar in pixels. The action bar's elevation is the distance it is placed from its parent surface. Higher values are closer to the user.

Android reference for android.app.ActionBar.getElevation.

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