to top
Android APIs
Since: API Level 1
package

android.view.animation

Provides classes that handle tweened animations.

Android provides two mechanisms that you can use to create simple animations: tweened animation, in which you tell Android to perform a series of simple transformations (position, size, rotation, and so on) to the content of a View; and frame-by-frame animation, which loads a series of Drawable resources one after the other. Both animation types can be used in any View object to provide simple rotating timers, activity icons, and other useful UI elements. Tweened animation is handled by this package (android.view.animation); frame-by-frame animation is handled by the AnimationDrawable class.

For more information on creating tweened or frame-by-frame animations, read the discussion in the 2D Graphics Dev Guide.

Interfaces

Animation.AnimationListener

An animation listener receives notifications from an animation. 

Interpolator An interpolator defines the rate of change of an animation. 

Classes

AccelerateDecelerateInterpolator An interpolator where the rate of change starts and ends slowly but accelerates through the middle. 
AccelerateInterpolator An interpolator where the rate of change starts out slowly and and then accelerates. 
AlphaAnimation An animation that controls the alpha level of an object. 
Animation Abstraction for an Animation that can be applied to Views, Surfaces, or other objects. 
Animation.Description Utility class to parse a string description of a size. 
AnimationSet Represents a group of Animations that should be played together. 
AnimationUtils Defines common utilities for working with animations. 
AnticipateInterpolator An interpolator where the change starts backward then flings forward. 
AnticipateOvershootInterpolator An interpolator where the change starts backward then flings forward and overshoots the target value and finally goes back to the final value. 
BounceInterpolator An interpolator where the change bounces at the end. 
CycleInterpolator Repeats the animation for a specified number of cycles. 
DecelerateInterpolator An interpolator where the rate of change starts out quickly and and then decelerates. 
GridLayoutAnimationController A layout animation controller is used to animated a grid layout's children. 
GridLayoutAnimationController.AnimationParameters The set of parameters that has to be attached to each view contained in the view group animated by the grid layout animation controller. 
LayoutAnimationController A layout animation controller is used to animated a layout's, or a view group's, children. 
LayoutAnimationController.AnimationParameters The set of parameters that has to be attached to each view contained in the view group animated by the layout animation controller. 
LinearInterpolator An interpolator where the rate of change is constant  
OvershootInterpolator An interpolator where the change flings forward and overshoots the last value then comes back. 
RotateAnimation An animation that controls the rotation of an object. 
ScaleAnimation An animation that controls the scale of an object. 
Transformation Defines the transformation to be applied at one point in time of an Animation. 
TranslateAnimation An animation that controls the position of an object.