Determining Scores Screen Layout Requirements

Now that you know how you want your scores screen to look, you need to translate your rough design into the appropriate layout design. In this case, you need to update the /res/layout/scores.xml layout file that is used by the QuizScoresActivity class. In the case of the scores layout, you can again take advantage of the RelativeLayout control to add a familiar title bar to the top of the scores screen. In this case, the header will be followed by a TabHost control with two tabs, each of which will be a TableLayout control of scores—one tab for all scores and one for friends' scores.

Was this article helpful?

0 0

Post a comment