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

Chapter 4. Animating Properties and Tweening Pages

In the last chapter, we saw some basic view-based animation techniques and how they could be parameterized and combined to create a natural animation style.

In this chapter, we will build on the tweening techniques we've already learned, and also apply some new techniques that were introduced in Android 3.0.

In this chapter, we shall:

  • Use a ViewFlipper for animating a book-like application
  • Use Java to define a new tween animation and apply it to a view
  • Use an ObjectAnimator to apply an animation to a view, a bit like a tween
  • Use a ValueAnimator to generate values, which we will use for a more complex animation
  • Compare the Animator classes to the tween classes from the previous chapter

So let's get on ...

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