570 CHAPTER 15: Developing for Android Wearable Devices
Creating Your EarthTime Application Icons
Now let’s get into detailing the application. The first important detail for any application is its
launcher icon, so let’s create LDPI through XXXHDPI icon versions using the information you learned
back in Chapter 4, in Table 4-1. You will use the process you are now familiar with in GIMP 2.8.10 to
create the required six icon image assets.
If you don’t want to go through all of this work, I have provided these assets—named
earthtimeiconLDPI.png through earthtimeiconXXXHDPI.png—in the projects repository for this
book. Copy these icon assets into their appropriate /res/drawable-dpi folders using the Windows
Explorer file management utility.
Be sure to rename all of the earthtimeiconDPI.png asset names to earthtimeicon.png for each of
the six folder names so that the XML markup in your AndroidManifest.XML file can reference just
the one file name.
Remember that the XXXHDPI folder is for application icons only, unless you are developing for UHD
devices such as the Samsung Galaxy 5 (2560 by 1440 pixels) or 4K iTV Sets (4096 by 2160 pixels).
Figure 15-22 shows the renaming process, from earthtimeiconMDPI.png to earthtimeicon.png.
Figure 15-22. Copy earthtimeiconMDPI.png into the /res/drawable-mdpi folder and rename it earthtimeicon.png
To install all of these new launcher icons into the EarthTime.APK—once you have copied the LDPI
through the XXHDPI versions into the appropriate folders that the New Android Application Project
sequence of dialogs created for you—all you have to do is one simple edit to your AndroidManifest
XML application definition file.