Choose an animation technique

Keyboard Shortcuts

The Android SDK supports a wide variety of techniques for animating activities, views, drawable images, and other objects in your applications. To decide which technique to use for your app, you need to know what each technique is designed for, what kind of objects you can animate with it, and which versions of Android it supports. Some of these techniques have been available since the earliest days of Android development, while others were only added in very recent versions.

- [Voiceover] The Android SDK supports…a wide variety of techniques for animating…activities, views, drawable images…and other objects in your applications.…To decide which technique to use for your app,…you need to know what each technique is designed for,…what kind of objects you can animate with it,…and which versions of Android it supports.…Some of these techniques have been available…since the earliest days of Android development,…while others were only added in very recent versions.…

Also, not all techniques are equal…in terms of the amount of required code.…Some animations can be mostly defined…in highly readable and maintainable XML files,…while others only work in Java code.…Here are the basic categories of animation techniques.…View animations, property animations, frame animations,…and the newest, the transitions framework.…Here are some of the characteristics of each.…View animations have been a part of Android development…since the very first version of the Android SDK.…

As is implied by the name, you can…

Resume Transcript Auto-Scroll

Author

Released

6/3/2016

The Android SDK offers many ways to create visually compelling animations and screen transitions for mobile apps. This course starts with an overview of the different animation techniques and APIs, and then offers hand-on instruction using each one. David Gassner covers defining view animations in XML declarations and in Java code; animating frame by frame with images; animating object properties over time or in response to an event with tweened calculations; building simple transitions between activities; and using the new transitions framework that was introduced in Android 4.4 KitKat.