Animation.ShowBackdrop Property

Definition

If showBackdrop is true and this animation is applied on a window, then the windows in the animation will animate with the background associated with this window behind them. -or- If showBackdrop is true and this animation is applied on a window, then the windows in the animation will animate with the background associated with this window behind them.

public virtual bool ShowBackdrop { [Android.Runtime.Register("getShowBackdrop", "()Z", "GetGetShowBackdropHandler", ApiSince=33)] get; [Android.Runtime.Register("setShowBackdrop", "(Z)V", "GetSetShowBackdrop_ZHandler", ApiSince=33)] set; }
[<get: Android.Runtime.Register("getShowBackdrop", "()Z", "GetGetShowBackdropHandler", ApiSince=33)>]
[<set: Android.Runtime.Register("setShowBackdrop", "(Z)V", "GetSetShowBackdrop_ZHandler", ApiSince=33)>]
member this.ShowBackdrop : bool with get, set

Property Value

if a backdrop should be shown behind the animating windows.

Attributes

Remarks

Property getter documentation:

If showBackdrop is true and this animation is applied on a window, then the windows in the animation will animate with the background associated with this window behind them.

If no backdrop color is explicitly set, the backdrop's color comes from the android.R.styleable#Theme_colorBackground that is applied to this window through its theme.

If multiple animating windows have showBackdrop set to true during an animation, the top most window with showBackdrop set to true and a valid background color takes precedence.

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

Property setter documentation:

If showBackdrop is true and this animation is applied on a window, then the windows in the animation will animate with the background associated with this window behind them.

If no backdrop color is explicitly set, the backdrop's color comes from the android.R.styleable#Theme_colorBackground that is applied to this window through its theme.

If multiple animating windows have showBackdrop set to true during an animation, the top most window with showBackdrop set to true and a valid background color takes precedence.

Java documentation for android.view.animation.Animation.setShowBackdrop(boolean).

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