Compartir a través de


Animation.BackdropColor Property

Definition

Returns the background color to show behind the animating windows. -or- Set the color to use for the backdrop shown behind the animating windows.

public virtual int BackdropColor { [Android.Runtime.Register("getBackdropColor", "()I", "GetGetBackdropColorHandler", ApiSince=33)] get; [Android.Runtime.Register("setBackdropColor", "(I)V", "GetSetBackdropColor_IHandler", ApiSince=33)] set; }
[<get: Android.Runtime.Register("getBackdropColor", "()I", "GetGetBackdropColorHandler", ApiSince=33)>]
[<set: Android.Runtime.Register("setBackdropColor", "(I)V", "GetSetBackdropColor_IHandler", ApiSince=33)>]
member this.BackdropColor : int with get, set

Property Value

The backdrop color. If 0, the backdrop color will not apply.

Attributes

Remarks

Property getter documentation:

Returns the background color to show behind the animating windows.

Will only show the background if showBackdrop was set to true. See #setShowBackdrop(boolean).

Java documentation for android.view.animation.Animation.getBackdropColor().

Property setter documentation:

Set the color to use for the backdrop shown behind the animating windows.

Will only show the backdrop if showBackdrop was set to true. See #setShowBackdrop(boolean).

Java documentation for android.view.animation.Animation.setBackdropColor(int).

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