mirror of
				https://github.com/commons-app/apps-android-commons.git
				synced 2025-11-04 00:33:55 +01:00 
			
		
		
		
	Temporary commit - Removed library/commented
This commit is contained in:
		
							parent
							
								
									dc37060b5e
								
							
						
					
					
						commit
						8ed879fab0
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -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);
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue