9. Drawing and Working with Animation
This chapter talks about the drawing and animation features built into Android, including creating custom
View classes and working with
Paint to draw shapes and text. We also talk about animating objects on the screen in a variety of ways.
Drawing on the Screen
In Chapter 7, “Exploring User Interface Screen Elements,” and Chapter 8, “Designing User Interfaces with Layouts,” we talk about layouts and the various
View classes available in Android to make screen design simple and efficient. Now we must think at a slightly lower level and talk about drawing objects on the screen. With Android, we can display images such as PNG and JPG graphics, as well as text and primitive shapes to the screen. ...