When you first install and run the app, the quiz is configured to display three guess Button
s and to select flags from all of the world’s regions. For this test-drive, you’ll change the app’s options to select flags only from North America and you’ll keep the app’s default setting of three guess Button
s per flag. On a phone, a tablet or AVD in portrait orientation, touch the options menu icon ( , Fig. 5.1) on the action bar to open the menu, then select Settings so you can view the app’s options in the Flag Quiz Settings screen (Fig. 5.3(a)). On a tablet device or tablet AVD in landscape orientation, the app’s settings options appear at the left side of the screen (Fig. 5.2). Touch Number of Choices to display the dialog (Fig. 5.3(b)) for selecting the number of Button
s that should be displayed with each flag. (On a tablet device or tablet AVD in landscape orientation, the entire app is grayed out and the dialog appears in the center of the screen.) By default, 3 is selected. To make the quiz more challenging, you can select 6 or 9 and touch OK; otherwise, touch Cancel to return to the Flag Quiz Settings screen. We used the default setting of three guess Button
s for this test-drive.
Next, touch Regions (Fig. 5.4(a)) to display the checkboxes representing the world regions (Fig. 5.4(b)). By default, all regions are enabled when the app is first executed, so any of the world’s flags can be selected randomly for the quiz. Touch the checkboxes next to Africa, Asia, Europe, Oceania and South America to uncheck them—this excludes those regions’ countries from the quiz. Touch OK to reset the quiz with the updated settings. On a phone, a tablet or AVD in portrait orientation, touch the back button () to return to the quiz. On a tablet device or tablet AVD in landscape orientation, a quiz with the updated settings is immediately displayed at the right side of the screen.