A (175)

(Tuis.) #1

94 CHAPTER 3: An Introduction to the Android Application Development Platform



  1. In the File Export dialog, use the Places Navigation Pane (located on the
    left side of the dialog), and find your workspace folder, the HelloUniverse
    project folder, and the alternate drawable resources drawable-xxhdpi target
    folder, as shown in Figure 3-18, in the dialog that is numbered one, at the
    top, next to Save in folder.


Figure 3-18. An Export Image dialog, the file overwrite warning dialog, and Export Image as PNG dialog



  1. Once you have the correct path diagrammed at the top of the GIMP Export
    Image dialog, as you can see in Figure 3-18, (mine was C:\Users\Default.
    Default-PC\workspace\HelloUniverse\res\drawable-xxhdpi), click the
    ic_launcher.png file that will be showing in the central area of the dialog.
    This is the launcher icon that was auto-created for you previously, during the
    New Android Application Project series of dialogs. Once you click the
    ic_launcher.png file to select that file for replacement with the new icon
    asset you have just created, it will turn blue and you will see an image
    preview of what is inside of the file on the right-hand side of the dialog.

  2. When you click ic_launcher, that filename will be placed automatically in the
    top Name field, and the Save in Folder field will still show the proper path for
    saving (overwriting) this file to your drawable-xxhdpi folder on your C: drive!
    Once everything is configured correctly, click on the “Export” button to save
    out (to overwrite) your custom XXHDPI icon, which will replace the generic
    green Android robot that ADT auto-created earlier.

Free download pdf