Creating the Exploring Layouts project
One of the toughest things in Android is not just finding out how to do something, but finding out how to do something amongst other things. That is why, throughout this book, as well as showing you how to do some neat stuff, we will link lots of topics together into apps that span multiple topics and often chapters. The Exploring Layouts project is the first app of this type. We will learn how to build multiple types of layout while linking them all together in one handy app:
- Create a new project in Android Studio. If you already have a project open, select File | New Project. When prompted, choose Open in same window, as we do not need to refer to our previous project.
Tip
If you are on the start screen of Android Studio, you can create a new project simply by clicking the Start a new Android Studio project option.
- Select the Empty Activity project template, as we will build most of the UI from scratch. Click the Next button.
- Enter
Exploring Layouts
for...