共用方式為


WindowManagerLayoutParams.CanPlayMoveAnimation Method

Definition

[Android.Runtime.Register("canPlayMoveAnimation", "()Z", "GetCanPlayMoveAnimationHandler", ApiSince=34)]
public virtual bool CanPlayMoveAnimation ();
[<Android.Runtime.Register("canPlayMoveAnimation", "()Z", "GetCanPlayMoveAnimationHandler", ApiSince=34)>]
abstract member CanPlayMoveAnimation : unit -> bool
override this.CanPlayMoveAnimation : unit -> bool

Returns

whether playing an animation during a position change is allowed on this window. This does not guarantee that an animation will be played in all such situations. For example, drag-resizing may move the window but not play an animation.

Attributes

Remarks

Java documentation for android.view.WindowManager.LayoutParams.canPlayMoveAnimation().

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