A (175)

(Tuis.) #1

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



  1. After you click Next you will get the Blank Activity dialog, shown in
    Figure 3-7, where you will see the naming conventions for the “main”
    (the app’s Home screen) Android Activity Name and UI Layout Name.
    I am going to accept the suggested names, and set the Navigation Type to
    None so that we can create our own navigation!


Figure 3-7. The Blank Activity dialog with Activity Name, UI Layout Name, and Navigation Type


You will see later (throughout the book) why I am accepting these suggested names and will be
following these naming conventions that they embody. For now, just accept that your main application
“home screen” is called “Main” and its Activity UI definition is referenced as activity_main.xml. We
will soon see where this XML UI definition file is kept, and we will even take a look at its contents, and
learn what it does, using XML markup.



  1. Once you click the Finish button in the final dialog, the dialog will disappear,
    and you will see a formerly blank Eclipse ADT IDE filled with a complete,
    working Android application project, as shown in Figure 3-8.

Free download pdf