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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.