Skip to content

Commit

Permalink
Added quiz questions, up to 48.
Browse files Browse the repository at this point in the history
Signed-off-by: arasmv <amvitkus@gmail.com>
  • Loading branch information
amykv committed Jun 13, 2019
1 parent 9893406 commit c4f294e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,14 @@ public class MainActivity extends AppCompatActivity {
new TrueFalse(R.string.question_44, false),
new TrueFalse(R.string.question_45, true),
new TrueFalse(R.string.question_46, false),
new TrueFalse(R.string.question_47, false)
new TrueFalse(R.string.question_47, false),
new TrueFalse(R.string.question_48, false)

};

//Progress bar constant, had to move here for the code to work properly, due to use of mQuestionBank.
//final int PROGRESS_BAR_INCREMENT = (int) Math.ceil(100.0 / mQuestionBank.length);
final int NUMBER_OF_QUESTIONS = 47; //New way to update progress bar,
final int NUMBER_OF_QUESTIONS = 48; //New way to update progress bar,



Expand Down
3 changes: 2 additions & 1 deletion app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<string name="true_button">True</string>
<string name="false_button">False</string>
<string name="initial_score">Score 0/47</string>
<string name="initial_score">Score 0/48</string>

<string name="incorrect_toast">Wrong!</string>
<string name="correct_toast">Correct!</string>
Expand Down Expand Up @@ -55,4 +55,5 @@
<string name="question_45">James "Big Cat" Williams played 166 games in his career, all with the Chicago Bears.</string>
<string name="question_46">Alan Page is a Hall of Fame defensive tackle who played the majority of his career with the Chicago Bears.</string>
<string name="question_47">Former guard for the Chicago Bears Rex Tucker wore the number 67 on his jersey.</string>
<string name="question_48">Former center-guard for the Chicago Bears Jay Hilgenberg played his whole career with the Chicago Bears.</string>
</resources>

0 comments on commit c4f294e

Please sign in to comment.