Gallery.SetAnimationDuration(Int32) Method

Definition

Caution

deprecated

Sets how long the transition animation should run when a child view changes position.

[Android.Runtime.Register("setAnimationDuration", "(I)V", "GetSetAnimationDuration_IHandler")]
[System.Obsolete("deprecated")]
public virtual void SetAnimationDuration (int animationDurationMillis);
[<Android.Runtime.Register("setAnimationDuration", "(I)V", "GetSetAnimationDuration_IHandler")>]
[<System.Obsolete("deprecated")>]
abstract member SetAnimationDuration : int -> unit
override this.SetAnimationDuration : int -> unit

Parameters

animationDurationMillis
Int32

The duration of the transition, in milliseconds.

Attributes

Remarks

Sets how long the transition animation should run when a child view changes position. Only relevant if animation is turned on.

Java documentation for android.widget.Gallery.setAnimationDuration(int).

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