9.4 Building the GUI and Resource Files

In this section, you’ll create the Address Book app’s additional Java source-code files, resource files and GUI layout files.

9.4.1 Creating the Project

Create a new project using the Blank Activity template. When configuring the project, check the Use a Fragment checkbox. Specify the following values in the Create New Project dialog’s New Project step:

  • Application name: Address Book

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

Follow the steps you used in earlier apps to add an app icon to your project. Follow the steps in Section 4.4.3 to configure Java SE 7 support for the project. Follow the steps in Section 8.4.3 to add the RecyclerView library to this project. In colors.xml ...

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.