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

Assembling the building blocks of a tween

There are different sorts of tweens, and they can be combined in series or in parallel to make quite complex animations. The different types are:

  • Translate: Move from one place to another
  • Rotate: Spin around
  • Scale: Get bigger or smaller
  • Alpha: Fade in or out
  • Set: Yes, a set is a tween too, and you can nest them! Set lets you define certain properties for all of the tweens contained within it.

Let's explore this idea with an example.

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