Sdílet prostřednictvím


WindowManagerLayoutParams.SetCanPlayMoveAnimation(Boolean) Method

Definition

Set whether animations can be played for position changes on this window.

[Android.Runtime.Register("setCanPlayMoveAnimation", "(Z)V", "GetSetCanPlayMoveAnimation_ZHandler", ApiSince=34)]
public virtual void SetCanPlayMoveAnimation (bool enable);
[<Android.Runtime.Register("setCanPlayMoveAnimation", "(Z)V", "GetSetCanPlayMoveAnimation_ZHandler", ApiSince=34)>]
abstract member SetCanPlayMoveAnimation : bool -> unit
override this.SetCanPlayMoveAnimation : bool -> unit

Parameters

enable
Boolean
Attributes

Remarks

Set whether animations can be played for position changes on this window. If disabled, the window will move to its new position instantly without animating.

Java documentation for android.view.WindowManager.LayoutParams.setCanPlayMoveAnimation(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