Animation effect--animation
Animation monographic study One
http://www.eoeandroid.com/viewthread.php?tid=564
Animation Thematic Study II
http://www.eoeandroid.com/viewthread.php?tid=775
Animation Special study Three
after a few days of research and writing code, basically completed the four animation effects of the sample program, but also a combination of four animations, including startoffset delay execution, also known as step-by-bit execution.
There are four basic animations in the Android.view.animation package, transparent/telescopic/moving/rotating.
This example contains a variety of combinations, as well as an example and an animated effect of your own design.
type of animation
Android animation is made up of four different types
in XML
Alpha
|
Gradient Transparency Animation effect
|
Scale
|
Gradient Dimension Stretch animation effect
|
Translate
|
Move animation effect on picture transition position
|
Rotate
|
Picture Transfer rotation animation effect
|
in javacode
Alphaanimation
|
Gradient Transparency Animation effect
|
Scaleanimation
|
Gradient Dimension Stretch animation effect
|
Translateanimation
|
Move animation effect on picture transition position
|
Rotateanimation
|
Picture Transfer rotation animation effect
|
android animation mode
animation There are two main modes of animation:
gradient animation
in XML
|
Javacode
|
Alpha
|
Alphaanimation
|
Scale
|
Scaleanimation
|
one is frame by frame ( picture conversion animation )
in XML
|
Javacode
|
Translate
|
Translateanimation
|
Rotate
|
Rotateanimation
|
In this example, the animation of XML is mainly implemented, and the animated XML file is placed in the Res/anim directory. Should be noted at the time of creation. The different resource XML files are placed in different folders.