After you have written the code to parse the two mock XML files and populate the two TableLayout controls in the TabHost control, you need only make a few minor additions to QuizScoresActivity. You should add a header TableRow to each TableLayout control, with nicely styled column headers, as well as handling for the case where no score data is available.
When you're done applying these finishing touches, you save the class and run the application in the emulator or on the device. When you navigate to the scores screen, you see that both tabs are populated with data (see Figure 9.6).
The Been There, Done That! scores screen.
Was this article helpful?