O'Reilly logo

Advanced Android™ Application Development, Fourth Edition by Shane Conder, Lauren Darcey, Joseph Annuzzi Jr.

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

22. Developing Android 2D Graphics Applications

In Introduction to Android Application Development: Android Essentials, we talked 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. This chapter covers the two-dimensional drawing features built into the Android platform, including creating custom View classes and working with Canvas and Paint to draw shapes and text. You will also learn about working with bitmaps and how to use the hardware acceleration features of the Android platform.

Drawing on the Screen

With Android, we can display images such as PNG and JPG graphics as well as text and primitive ...

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