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

Congratulations! You have finished making an animated Towers of Hanoi game! On the way, you have learned all of these things:

  • The building blocks of a tween: alpha, translate, rotate, and scale
  • How to stop and start an animation
  • Sequencing several building blocks to make a complex animation
  • Receiving events from an animation
  • Interpolators, and why they're useful

By the way, here are the rules to the game: move all the blocks, so that the tower is on the right-hand side of the screen instead of the left. Have fun!

Now that we've had an introduction to tween animations, the next chapter will be about animators. We will also cover some fancier techniques that apply to tween animations.

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