Megosztás a következőn keresztül:


ViewGroup.AnimationCacheEnabled Property

Definition

Indicates whether the children's drawing cache is used during a layout animation. -or- Enables or disables the children's drawing cache during a layout animation.

public virtual bool AnimationCacheEnabled { [Android.Runtime.Register("isAnimationCacheEnabled", "()Z", "GetIsAnimationCacheEnabledHandler")] get; [Android.Runtime.Register("setAnimationCacheEnabled", "(Z)V", "GetSetAnimationCacheEnabled_ZHandler")] set; }
[<get: Android.Runtime.Register("isAnimationCacheEnabled", "()Z", "GetIsAnimationCacheEnabledHandler")>]
[<set: Android.Runtime.Register("setAnimationCacheEnabled", "(Z)V", "GetSetAnimationCacheEnabled_ZHandler")>]
member this.AnimationCacheEnabled : bool with get, set

Property Value

true if the animation cache is enabled, false otherwise

Attributes

Remarks

Property getter documentation:

Indicates whether the children's drawing cache is used during a layout animation. By default, the drawing cache is enabled but this will prevent nested layout animations from working. To nest animations, you must disable the cache.

This member is deprecated. As of android.os.Build.VERSION_CODES#M, this property is ignored. Caching behavior of children may be controlled through View#setLayerType(int, Paint).

Java documentation for android.view.ViewGroup.isAnimationCacheEnabled().

Property setter documentation:

Enables or disables the children's drawing cache during a layout animation. By default, the drawing cache is enabled but this will prevent nested layout animations from working. To nest animations, you must disable the cache.

This member is deprecated. As of android.os.Build.VERSION_CODES#M, this property is ignored. Caching behavior of children may be controlled through View#setLayerType(int, Paint).

Java documentation for android.view.ViewGroup.setAnimationCacheEnabled(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

See also