예제 #1
0
 private void resetAnswerButtonBackground(int blueButton) {
   //
   buttonAnswer1.setBackgroundResource(blueButton);
   buttonAnswer2.setBackgroundResource(blueButton);
   buttonAnswer3.setBackgroundResource(blueButton);
   buttonAnswer4.setBackgroundResource(blueButton);
 }
예제 #2
0
 private void setButtonGreen(Button o_Button) {
   o_Button.setBackgroundResource(R.drawable.green_button);
 }
예제 #3
0
 private void setButtonRed(Button o_Button) {
   o_Button.setBackgroundResource(R.drawable.red_button);
 }