This chapter talks about the drawing and animation features built into Android, including creating custom
View classes and working with
Paint to draw shapes, text, and animations to the screen. Then later, in Chapter 14, “Using Android 3D Graphics with OpenGL ES,” we dive further into using the OpenGL ES library for 2D and 3D rendering.
We talked about layouts and the various
View widgets available, but now we work at a slightly lower level and talk about drawing on the screen. With Android, we can draw images such as PNG and JPG graphics, text, or primitive shapes to the screen. We can paint them with various colors, styles, and gradients. We ...