Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void onClick(View v) {
- if(outputText.getText().toString().equals(answer[count]))
- {
- outputText.setBackgroundColor(Color.GREEN);
- }
- else
- {
- outputText.setBackgroundColor(Color.RED);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement