Temporary commit - Removed library/commented

This commit is contained in:
Kanahia 2024-08-22 17:32:22 +05:30
parent dc37060b5e
commit 8ed879fab0

View file

@ -66,8 +66,8 @@ public class QuizResultActivity extends AppCompatActivity {
*/
public void setScore(int score) {
int per = score * MULTIPLIER_TO_GET_PERCENTAGE;
binding.resultProgressBar.setProgress(per);
binding.resultProgressBar.setProgressTextFormatPattern(score +" / " + NUMBER_OF_QUESTIONS);
// binding.resultProgressBar.setProgress(per);
// binding.resultProgressBar.setProgressTextFormatPattern(score +" / " + NUMBER_OF_QUESTIONS);
String message = getResources().getString(R.string.congratulatory_message_quiz,per + "%");
binding.congratulatoryMessage.setText(message);
}