O'Reilly logo

Android™ Programming Unleashed by B.M. Harwani

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. Implementing Drawing and Animation

In This Chapter

Drawing on the Screen Using Canvas and Paint

Using Colors

• Drawing Circles, Points, Lines, Paths, Rectangles, Rounded Rectangles, Ovals, and Arcs

• Displaying Bitmaps and Text

Applying Paint Antialiasing

Setting Paint Style

• Setting Stroke Width and Cap

• Using Gradients: LinearGradient, RadialGradient, and SweepGradient

Understanding Frame-by-Frame Animation

• Defining Frame-by-Frame Animation with XML and Program Code

• Understanding Tweening: Alpha, Rotate, Scale, and Translate Animation

• Defining Tweening Animations with XML Resources and Program Code

Applying Interpolators

Drawings and animations are two important tools that make an application more attractive ...

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