共用方式為


Animation.WillChangeBounds Method

Definition

Indicates whether or not this animation will affect the bounds of the animated view.

[Android.Runtime.Register("willChangeBounds", "()Z", "GetWillChangeBoundsHandler")]
public virtual bool WillChangeBounds ();
[<Android.Runtime.Register("willChangeBounds", "()Z", "GetWillChangeBoundsHandler")>]
abstract member WillChangeBounds : unit -> bool
override this.WillChangeBounds : unit -> bool

Returns

true if this animation will change the view's bounds

Attributes

Remarks

Indicates whether or not this animation will affect the bounds of the animated view. For instance, a fade animation will not affect the bounds whereas a 200% scale animation will.

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

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