Sdílet prostřednictvím


AssistStructure.ViewNode.Elevation Property

Definition

Returns the visual elevation of the view, used for shadowing and other visual characterstics, as set by ViewStructure#setElevation ViewStructure.setElevation(float).

public virtual float Elevation { [Android.Runtime.Register("getElevation", "()F", "GetGetElevationHandler", ApiSince=23)] get; }
[<get: Android.Runtime.Register("getElevation", "()F", "GetGetElevationHandler", ApiSince=23)>]
member this.Elevation : single

Property Value

Attributes

Remarks

Returns the visual elevation of the view, used for shadowing and other visual characterstics, as set by ViewStructure#setElevation ViewStructure.setElevation(float).

It's only relevant when the AssistStructure is used for assist purposes, not for autofill purposes.

Java documentation for android.app.assist.AssistStructure.ViewNode.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