2.3.7. Blank Activity Step

This step depends on the template selected in the previous step. For the Blank Activity template, this step allows you to specify:

Activity NameMainActivity is the default name provided by the IDE. This is the name of a subclass of Activity that controls the app’s execution. Starting in Chapter 3, we’ll modify this class to implement an app’s functionality.

Layout Nameactivity_main.xml is the default file name provided by the IDE. This file stores an XML representation of the app’s GUI. In this chapter, you’ll build the GUI (Section 2.5) using visual techniques.

Navigation TypeNone is the default specified by the IDE. The Welcome app does not provide any functionality. In an app that supports user interactions, you can select an appropriate Navigation Type to enable the user to browse through your app’s content. We’ll discuss navigation options in more detail in later apps.

Click Finish to create the project.

Image

Fig. 2.8 | New Android Application dialog—Blank Activity step.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.12.107.81