A (175)

(Tuis.) #1

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



  1. This dialog allows you to configure your Android application icon using an
    Image, Clipart, or Text, select a custom image file, automatically trim blank
    space around your icon, add additional padding, crop or center the icon,
    and determine the shape of your icon and the background color used. Since
    we are going to learn how to do all of this “from scratch” using XML and
    GIMP, as well as related concepts such as alpha channel support, which
    allows transparent areas around your icon, I am simply going to accept these
    default settings. We’ll use the green Android robot for now as a placeholder
    until I can show you how your you can access your application icon content
    and settings from inside of your Android project.

  2. Once you click the Next button you will be taken to the fourth dialog in the
    series, which is the Create Activity dialog, which is shown in Figure 3-6. This
    dialog will allow you to specify what kind of UI design your Activity class will
    have installed in it, which will determine what Java code and XML mark-up
    Eclipse writes for you.


Figure 3-5. The Configure Launcher Icon dialog, showing the default selected options

Free download pdf