Exploring the file and folder structure of the Empty Activity project template
The simplest project type with an autogenerated UI is the Empty Activity project template. The UI is almost empty, but it is there ready to be added to. When we create a project even with an empty UI, Android Studio also autogenerates the Java code to display the UI. Therefore, when we add it to the empty UI, it is ready to be displayed.
Let's create an Empty Activity project. This is almost the same process as in Chapter 1, Beginning Android and Java, with one slight difference that I will point out.
If you have the project from Chapter 2, First Contact: Java, XML, and the UI Designer, open, select File | New | New Project…. Alternatively, if you are on the Android Studio welcome screen, select Start a new Android Studio project. Then, proceed as follows:
- On the Select a Project Template window, select Empty Activity. This is the bit that is different from what we did in Chapter...