android.view.animation.package.html Maven / Gradle / Ivy
Show all versions of android-all Show documentation
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 {@link android.graphics.drawable.AnimationDrawable} class.
For more information on creating tweened or frame-by-frame animations, read the discussion in the
2D Graphics
Dev Guide.