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 9. Practicing Good Practice and Style

The contents of this chapter can be summed up in one simple rule: be helpful to the user.

On a mobile device, the user also expects us to be good citizens about the limited resources on the device. Don't try to show animations that are too big, don't distract from the important things, and above all don't hog the processor. This will not only make the rest of the phone work badly, it will drain the battery life too.

In this chapter, we will take a look at some of the ways in which you can make your animations behave in a helpful and responsible way. They are as follows:

  • Use animation to explain behavior to a user
  • Tidy up confusing animations
  • Optimize an application for screen usage
  • Monitor power usage
  • Optimize ...

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