O'Reilly logo

Android 3.0 Animations by Alex Shaw

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

We learned a lot in this chapter about frame and transition animations; two ways with which you can add animation to an application using frames.

Specifically, we covered:

  • Defining an animation in XML, using a series of frame images
  • Using controls on animations
  • Making copies of an animation in order to modify them
  • How to define and use a TransitionDrawable in an activity

Although they are quite similar to implement, the visual effects of frame and transition animations can be quite different.

We also discussed portability, and how you can use Android features to make your animation look good on different sized screens. We saw that we must take care not to make our animations too big to run on a small Android device. We also noted that you must ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required