Project templates
Android Studio comes packed with many useful project templates. These are designed for a series of typical project types, such as full screen apps or Google Maps projects. Templates are partially completed projects with code, layouts, and resources that can be used as a starting point for our own creations. The growing presence of material design has made the Navigation Drawer Activity template one of the most used templates and the one we will use to examine the Device Monitor tool.
The Navigation Drawer Activity template is interesting and useful in several ways. Firstly, note that there are four layout files including the activity_main.xml file that we are familiar with. Examining this code, you will note the following ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access