Adding an Icon

GeoQuiz is now up and running, but the user interface would be spiffier if the Next button also displayed a right-pointing arrow icon.

You can find such an arrow in the solutions file for this book. The solutions file is a collection of Android Studio projects for each chapter of this book. The solutions are hosted here:

Download this file and open the 02_MVC/GeoQuiz/app/src/main/res directory. Within this directory, locate the drawable-hdpi, res/drawable-mdpi, drawable-xhdpi, and drawable-xxhdpi directories.

The suffixes on these directory names refer to the screen pixel density of a device:

mdpi

medium-density screens (~160dpi) ...

Get Android Programming: The Big Nerd Ranch Guide, 2nd 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.