共用方式為


Animation.DetachWallpaper Property

Definition

Return value of #setDetachWallpaper(boolean). -or- If detachWallpaper is true, and this is a window animation of a window that has a wallpaper background, then the window will be detached from the wallpaper while it runs.

public virtual bool DetachWallpaper { [Android.Runtime.Register("getDetachWallpaper", "()Z", "GetGetDetachWallpaperHandler")] get; [Android.Runtime.Register("setDetachWallpaper", "(Z)V", "GetSetDetachWallpaper_ZHandler")] set; }
[<get: Android.Runtime.Register("getDetachWallpaper", "()Z", "GetGetDetachWallpaperHandler")>]
[<set: Android.Runtime.Register("setDetachWallpaper", "(Z)V", "GetSetDetachWallpaper_ZHandler")>]
member this.DetachWallpaper : bool with get, set

Property Value

Attributes

Remarks

Property getter documentation:

Return value of #setDetachWallpaper(boolean).

This member is deprecated. All window animations are running with detached wallpaper.

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

Property setter documentation:

If detachWallpaper is true, and this is a window animation of a window that has a wallpaper background, then the window will be detached from the wallpaper while it runs. That is, the animation will only be applied to the window, and the wallpaper behind it will remain static.

This member is deprecated. All window animations are running with detached wallpaper.

Java documentation for android.view.animation.Animation.setDetachWallpaper(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