Chapter 12. 2D and 3D drawing

In this chapter

  • Manipulating images on the fly
  • Working with 2D shapes
  • Creating 3D graphics and motion

Practice what you know, and it will help to make clear what now you do not know.

Rembrandt Van Rijn

So far, we’ve worked with many concepts relating to Android development. We’ve created UIs using the widgets and views that come with the framework, and we’ve put together applications using activities, services, and more. To create applications, such as games, that make extensive use of graphics, we’ll need full control over the screen to be able to create our visuals. This is where Android’s 2D and 3D libraries come into play.

The Android 2D library, which is based on the open source Skia library, is suitable ...

Get Android in Practice 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.