Exercise: Android Quiz
The next project is a quiz app. The user will see a question and type in an answer (see Figure 6.41). We will store the questions and answers in corresponding lists. We’ll also need a variable to keep track of what question we are on.
The name of the app is Android Quiz—it will be a five-question quiz to test knowledge about the green robot. Additionally, the app will provide other opportunities for customization and gaining further experience with lists.
1. To begin, create a new project and name it AndroidQuiz. Download the KitKatLogo from the companion site ...