O'Reilly logo

Android Programming Concepts by Trish Cornez, Richard Cornez

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

5 Graphics, Drawing, and Audio

Chapter Objectives

In this chapter you will:

  Learn to draw to a canvas.

  Examine the process of adding drawn elements and user interface controls to a layout.

  Understand how to add and manipulate ImageViews programmatically.

  Build frame-by-frame animations.

  Explore a turn-based game containing animation.

  Understand the Android Animate library.

  Explore the MediaPlayer for audio.

  5.1 Graphics in Android

Graphics are an important part of any Android application. A graphic element can appear as a simple background image, an icon, a component in a sophisticated user interface, or as a moving object with interactive behavior in a game. Before developing an application, it is always a good idea ...

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