Activity is divided into: tweened animation, frame animation, property animation
Motion Tweens have 4 effects: gradients, displacements, rotations, scaling
tweened Animation Properties
Android:duration duration of the animation (in milliseconds)
Android:fillafter when set to true, the animation remains at the end of the state. False defaults to return the original state after the animation is complete
Number of Android:repeatcount repetitions
Android:startoffset the time between animations
Android:repeatmode defines repeated behavior, 1 means restart, 2 means to reverse back from the last state
Gradient
XML configuration file
Alpha Gradient Transparency Animation effect
Build Alpha.xml under Res/anim
Alpha.xml's created.
Call on the line
Alphaanimation Gradient Transparency Animation effect
Scale gradient dimension stretch animation effect
The call is the same as Alpha
Translate picture conversion position move animation effect
Rotate picture Transfer rotation animation effect
Frame animation
Add images to drawable, add Animation-list.xml in res anim
Call
Complete
Activity (animation)