Adding the graphics

Grab the project's graphics from the download bundle; they are in the Chapter 28/drawable folder. Highlight the contents of this folder and copy them. Now right-click the drawable folder in the Android Studio explorer and select Paste. These files are the snake head and body segments, as well as the apple. We will look closely at each of the graphics as we use them.

Get Android Programming for Beginners - Second Edition 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.