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 Name—MainActivity 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 Name—activity_main is the default file name provided by the IDE. This file stores an XML representation of MainActivity’s GUI. In this chapter, you’ll build the GUI (Section 2.5) using visual techniques.
• Fragment Layout Name—fragment_main is the default file name provided by the IDE. An activity’s GUI typically contains one or more fragments that describe ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access