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 ...

Get Android™ Programming Unleashed now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.