These days in the search for a job, the interview was asked about the Android animation, before completely contact this part, directly to Meng, of course, the other will not have many. Back then began to look at the Android animation data, while learning to learn, they will not be all recorded, but also abandoned a half-year blog maintenance up again. I hope I can see the problem more deeply, and strive to become a Daniel!
Try to reject three-hand technology! Try to reject three-hand technology! Try to reject three-hand technology! Important things say three times ~ so I do not Baidu ~
Before Android 3.0, Android provided two types of animations. One is the tween Animation, the motion tween, which provides effects such as fading (alpha), scaling (scale), rotation (rotate), moving (translate), and frame Animation, which is the framing animation, It shows a set of images (such as GIFs, movies, and so on) in order. That is, the 3.0 Front animation system framework is like this:
After Android 3.0, Android also provides a powerful animation: property Animation, simply speaking, is the attribute animation. Property animation is a very robust animation framework that allows you to animate any properties of an object.
So after Android 3.0, the Android animation system framework is like this, where the drawable animation is similar to frame animation. See: Animation and Graphics Overview.
For tween Animation, the classes involved are mainly as follows:
For property Animation, the main classes involved are:
Because Android animation content is too many, it is divided into the following sections to tell:
- View Animation--tween Animation.
- Frame Animation and drawable Animation.
- Property Animation.
- Property animation a real-combat demo.
- Android Animation Summary.
Android Animation Learning (i)--android Animation system Framework Introduction