5.4 Creating the Project and Resources

In this section, you’ll create the project, import material design icons for the app’s menu items and edit the various resources used by the GUI and the app’s Java code.

5.4.1 Creating the Project

Create a new Blank Activity project. Specify the following values in the Create New Project dialog’s New Project step:

  • Application name: Doodlz

  • Company Domain: deitel.com (or specify your own domain name)

For the remaining steps in the Create New Project dialog, use the same settings as in Section 4.4.1. This creates a MainActivity that hosts a Fragment. The Fragment will define the app’s drawing area and respond to the user’s touches. Follow the steps in Section 2.5.2 to add an app icon to your project.

Get Android How to Program, 3/e 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.