WindowInsetsAnimation.Alpha Property

Definition

Retrieves the translucency of the windows that are animating. -or- Sets the translucency of the windows that are animating.

public float Alpha { [Android.Runtime.Register("getAlpha", "()F", "", ApiSince=30)] get; [Android.Runtime.Register("setAlpha", "(F)V", "", ApiSince=30)] set; }
[<get: Android.Runtime.Register("getAlpha", "()F", "", ApiSince=30)>]
[<set: Android.Runtime.Register("setAlpha", "(F)V", "", ApiSince=30)>]
member this.Alpha : single with get, set

Property Value

Alpha of windows that cause insets of type WindowInsets.Type.

Attributes

Remarks

Property getter documentation:

Retrieves the translucency of the windows that are animating.

Java documentation for android.view.WindowInsetsAnimation.getAlpha().

Property setter documentation:

Sets the translucency of the windows that are animating.

Note: This should only be used for testing, as the system fills in the alpha for the application or the alpha that was passed into WindowInsetsAnimationController#setInsetsAndAlpha(Insets, float, float) is being used.

Java documentation for android.view.WindowInsetsAnimation.setAlpha(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