8.4 Building the App’s GUI and Resource Files

In this section, you’ll build the Twitter Searches app’s GUI and resource files. Recall from Section 8.3.3 that RecyclerView does not define how to render its list items. So you’ll also create a layout that defines a list item’s GUI. The RecyclerView will inflate this layout as necessary when creating list items.

8.4.1 Creating the Project

Create a new project using the Blank Activity template. Fragments are not required for this app, so when you configure the Blank Activity, do not check the Use a Fragment checkbox. Specify the following values in the Create New Project dialog’s New Project step:

  • Application name: Twitter Searches

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

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.