5.2.3. Taking the Quiz

A new quiz starts with the number of answer choices you selected and flags from only the North America region. Work through the quiz by touching the guess Button for the country that you think matches each flag.

Making a Correct Selection

If the choice is correct (Fig. 5.5(a)), the app disables all the answer Buttons and displays the country name in green followed by an exclamation point at the bottom of the screen (Fig. 5.5(b)). After a short delay, the app loads the next flag and displays a new set of answer Buttons.

Image

a) Choosing the correct answer

b) Correct answer displayed

Fig. 5.5 | User choosing the correct answer ...

Get Android™ How to Program, Second Edition 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.