Sdílet prostřednictvím


AssistStructure.ViewNode.Alpha Property

Definition

Returns the alpha transformation of the view, used to reduce the overall opacity of the view's contents, as set by ViewStructure#setAlpha ViewStructure.setAlpha(float).

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

Property Value

Attributes

Remarks

Returns the alpha transformation of the view, used to reduce the overall opacity of the view's contents, as set by ViewStructure#setAlpha ViewStructure.setAlpha(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.getAlpha().

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