-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Android Programming for Beginners
By :

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: