4.3 Technologies Overview
This section introduces the features you’ll use to build the Flag Quiz app.
4.3.1 Menus
When you create an app’s project in the IDE, the MainActivity
is configured to display an options menu () at the right side of the action bar. In this app, you’ll display the options menu only when the app is in portrait orientation. Touching the icon expands a menu that, by default, contains only a Settings menu item—this typically is used to display an app’s settings to the user. For this app, we’ll modify the menu’s XML file by ...
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.