Freigeben über


View.TransitionAlpha Property

Definition

This property is intended only for use by the Fade transition, which animates it to produce a visual translucency that does not side-effect (or get affected by) the real alpha property. -or- This property is intended only for use by the Fade transition, which animates it to produce a visual translucency that does not side-effect (or get affected by) the real alpha property.

public virtual float TransitionAlpha { [Android.Runtime.Register("getTransitionAlpha", "()F", "GetGetTransitionAlphaHandler", ApiSince=29)] get; [Android.Runtime.Register("setTransitionAlpha", "(F)V", "GetSetTransitionAlpha_FHandler", ApiSince=29)] set; }
[<get: Android.Runtime.Register("getTransitionAlpha", "()F", "GetGetTransitionAlphaHandler", ApiSince=29)>]
[<set: Android.Runtime.Register("setTransitionAlpha", "(F)V", "GetSetTransitionAlpha_FHandler", ApiSince=29)>]
member this.TransitionAlpha : single with get, set

Property Value

Attributes

Remarks

Property getter documentation:

This property is intended only for use by the Fade transition, which animates it to produce a visual translucency that does not side-effect (or get affected by) the real alpha property. This value is composited with the other alpha value (and the AlphaAnimation value, when that is present) to produce a final visual translucency result, which is what is passed into the DisplayList.

Java documentation for android.view.View.getTransitionAlpha().

Property setter documentation:

This property is intended only for use by the Fade transition, which animates it to produce a visual translucency that does not side-effect (or get affected by) the real alpha property. This value is composited with the other alpha value (and the AlphaAnimation value, when that is present) to produce a final visual translucency result, which is what is passed into the DisplayList.

Java documentation for android.view.View.setTransitionAlpha(float).

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