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

Time for action playing with the frames

Time for some fun with frame animations! Let's have a play with the one in the splash screen of the Counting Calculator. Right now, we'll play around with changing the images; I'll show you the code part in the next chapter.

  1. Open up your favorite image editor; anything that handles the PNG graphics format will do. If you have an editor that supports layered graphics, you might find it easier to load all the images as different layers, rather than loading every picture individually. Yours truly favors the GIMP for this purpose.
  2. In your image editor, choose the option to open a file. Browse to the folder that contains the CountDroid project and navigate to the res/drawable directory from there. Select and ...

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