Skip to content

Most visited

Recently visited

navigation
Added in API level 11

android.animation

These classes provide functionality for the property animation system, which allows you to animate object properties of any type. int, float, and hexadecimal color values are supported by default. You can animate any other type by telling the system how to calculate the values for that given type with a custom TypeEvaluator.

For more information, see the Animation guide.

You can set many different types of interpolators (contained in android.view.animation), specify keyframes, or group animations to play sequentially or simultaneously (with AnimatorSet) to further control your animation behaviors.

Interfaces

Animator.AnimatorListener

An animation listener receives notifications from an animation. 

Animator.AnimatorPauseListener A pause listener receives notifications from an animation when the animation is paused or resumed
LayoutTransition.TransitionListener This interface is used for listening to starting and ending events for transitions. 
TimeAnimator.TimeListener Implementors of this interface can set themselves as update listeners to a TimeAnimator instance to receive callbacks on every animation frame to receive the total time since the animator started and the delta time since the last frame. 
TimeInterpolator A time interpolator defines the rate of change of an animation. 
TypeEvaluator<T> Interface for use with the setEvaluator(TypeEvaluator) function. 
ValueAnimator.AnimatorUpdateListener Implementors of this interface can add themselves as update listeners to an ValueAnimator instance to receive callbacks on every animation frame, after the current frame's values have been calculated for that ValueAnimator

Classes

Animator This is the superclass for classes which provide basic support for animations which can be started, ended, and have AnimatorListeners added to them. 
AnimatorInflater This class is used to instantiate animator XML files into Animator objects. 
AnimatorListenerAdapter This adapter class provides empty implementations of the methods from Animator.AnimatorListener
AnimatorSet This class plays a set of Animator objects in the specified order. 
AnimatorSet.Builder The Builder object is a utility class to facilitate adding animations to a AnimatorSet along with the relationships between the various animations. 
ArgbEvaluator This evaluator can be used to perform type interpolation between integer values that represent ARGB colors. 
BidirectionalTypeConverter<T, V> Abstract base class used convert type T to another type V and back again. 
FloatArrayEvaluator This evaluator can be used to perform type interpolation between float[] values. 
FloatEvaluator This evaluator can be used to perform type interpolation between float values. 
IntArrayEvaluator This evaluator can be used to perform type interpolation between int[] values. 
IntEvaluator This evaluator can be used to perform type interpolation between int values. 
Keyframe This class holds a time/value pair for an animation. 
LayoutTransition This class enables automatic animations on layout changes in ViewGroup objects. 
ObjectAnimator This subclass of ValueAnimator provides support for animating properties on target objects. 
PointFEvaluator This evaluator can be used to perform type interpolation between PointF values. 
PropertyValuesHolder This class holds information about a property and the values that that property should take on during an animation. 
RectEvaluator This evaluator can be used to perform type interpolation between Rect values. 
StateListAnimator Lets you define a number of Animators that will run on the attached View depending on the View's drawable state. 
TimeAnimator This class provides a simple callback mechanism to listeners that is synchronized with all other animators in the system. 
TypeConverter<T, V> Abstract base class used convert type T to another type V. 
ValueAnimator This class provides a simple timing engine for running animations which calculate animated values and set them on target objects. 
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a one-minute survey?
Help us improve Android tools and documentation.