Java android.view.animation AnimationSet fields, constructors, methods, implement or subclass

Example usage for Java android.view.animation AnimationSet fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.view.animation AnimationSet.

The text is from its open source code.

Subclass

android.view.animation.AnimationSet has subclasses.
Click this link to see all its subclasses.

Constructor

AnimationSet(boolean shareInterpolator)
Constructor to use when building an AnimationSet from code
AnimationSet(Context context, AttributeSet attrs)
Constructor used when an AnimationSet is loaded from a resource.

Method

voidaddAnimation(Animation a)
Add a child animation to this animation set.
voidcancel()
Cancel the animation.
ListgetAnimations()
voidreset()
voidsetAnimationListener(AnimationListener listener)

Binds an animation listener to this animation.

voidsetDuration(long durationMillis)

Sets the duration of every child animation.

voidsetFillAfter(boolean fillAfter)
voidsetFillBefore(boolean fillBefore)
voidsetFillEnabled(boolean fillEnabled)
If fillEnabled is true, the animation will apply the value of fillBefore.
voidsetInterpolator(Interpolator i)
Sets the acceleration curve for this animation.
voidsetRepeatCount(int repeatCount)
Sets how many times the animation should be repeated.
voidsetRepeatMode(int repeatMode)