The Basic Activity project

The next simplest project type with an autogenerated UI is the Basic Activity project. This is the same type of project that we created in Chapter 1, Getting Started with Android and Kotlin. Feel free to open that project up now, but it is recommended to generate a new one so that we can examine it without any of our alterations and additions clouding the discussions.

Let's create a Basic Activity project, as follows:

  1. In Android Studio, select File | New | New Project….
  2. On the Choose your project screen, select the Basic Activity template and click on Next.
  3. Change the Name field to Basic Activity App.
  4. Choose the same package name and save the location as in the previous project.
  5. Be sure to select Kotlin as the language.
  6. Check ...

Get Android Programming with Kotlin for Beginners now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.