Can't set my TextViews text on button click
I'm making a maths game and having trouble with displaying correct/wrong answer on a buttons click method.
Basically I made an if/else statement inside my equations method, and inside it the statements are suppose to do something like if the user input matches the right answer, change the textviews text to "correct", else "wrong". This is suppose to happen when the user clicks the button.

Here's my code, which doesn't do anything for some reason:

    @Override
	protected void onCreate(Bundle savedInstanceState){
		super.onCreate(savedInstanceState);
		Log.d(TAG, "onCreate");
		setContentView(R.layout.gamelayout);
		
		int diff = getIntent().getIntExtra(KEY_DIFFICULTY, DIFFICULTY_EASY);
		
		edittext = (EditText) findViewById(R.id.USERentry);
		questionLabel = (TextView) findViewById(R.id.question_label);
		answerLabel = (TextView) findViewById(R.id.rightwrong_label);
		
		button1 = (Button) findViewById(R.id.keypad_1);
		button1.setOnClickListener(new OnClickListener(){
		    public void onClick(View v) {
		        // Perform action on clicks
		        //String buttonText = (String) button.getText();
		    	edittext.setText(edittext.getText() + "1");
		    	//edittext.setText() = edittext.getText() + "1";
		    }
		});
		
		button2 = (Button) findViewById(R.id.keypad_2);
		button2.setOnClickListener(new OnClickListener(){
		    public void onClick(View v) {
		        
		    	edittext.setText(edittext.getText() + "2");
		    }
		});
                    ...some more buttons...
        buttonhash = (Button) findViewById(R.id.keypad_hash);
		buttonhash.setOnClickListener(new OnClickListener(){
			
			public void onClick(View v) {
				answerLabel.getText();
				answerLabel.setBackgroundColor(R.color.background_answer);
			}
		});
		
		getGame(diff);
    }

    public void Easy12(){
		Random rand = new Random();
		final int a = (int) rand.nextInt(20)+1;
		final int b = (int) rand.nextInt(20)+1;
		String aString = Integer.toString(a);
		String bString = Integer.toString(b);
		String display = aString + " + " + bString + " =";
		questionLabel.setText(display);
		final int c = a + b;
		
		    	if(edittext.getText().toString().equals(String.valueOf(c))){
		    		
					answerLabel.setText(R.string.answer_correct);
					answerLabel.setTextColor(R.color.correct_color);
					
				}
				else
				{
					
					answerLabel.setText(R.string.answer_wrong);
					answerLabel.setTextColor(R.color.wrong_color);
					//answerLabel.setBackgroundColor(R.color.background_answer);
				}
		    }
		

Can't set my TextViews text on button click
===

I'm making a maths game and having trouble with displaying correct/wrong answer on a buttons click method.
Basically I made an if/else statement inside my equations method, and inside it the statements are suppose to do something like if the user input matches the right answer, change the textviews text to "correct", else "wrong". This is suppose to happen when the user clicks the button.

Here's my code, which doesn't do anything for some reason:

    @Override
	protected void onCreate(Bundle savedInstanceState){
		super.onCreate(savedInstanceState);
		Log.d(TAG, "onCreate");
		setContentView(R.layout.gamelayout);
		
		int diff = getIntent().getIntExtra(KEY_DIFFICULTY, DIFFICULTY_EASY);
		
		edittext = (EditText) findViewById(R.id.USERentry);
		questionLabel = (TextView) findViewById(R.id.question_label);
		answerLabel = (TextView) findViewById(R.id.rightwrong_label);
		
		button1 = (Button) findViewById(R.id.keypad_1);
		button1.setOnClickListener(new OnClickListener(){
		    public void onClick(View v) {
		        // Perform action on clicks
		        //String buttonText = (String) button.getText();
		    	edittext.setText(edittext.getText() + "1");
		    	//edittext.setText() = edittext.getText() + "1";
		    }
		});
		
		button2 = (Button) findViewById(R.id.keypad_2);
		button2.setOnClickListener(new OnClickListener(){
		    public void onClick(View v) {
		        
		    	edittext.setText(edittext.getText() + "2");
		    }
		});
                    ...some more buttons...
        buttonhash = (Button) findViewById(R.id.keypad_hash);
		buttonhash.setOnClickListener(new OnClickListener(){
			
			public void onClick(View v) {
				answerLabel.getText();
				answerLabel.setBackgroundColor(R.color.background_answer);
			}
		});
		
		getGame(diff);
    }

    public void Easy12(){
		Random rand = new Random();
		final int a = (int) rand.nextInt(20)+1;
		final int b = (int) rand.nextInt(20)+1;
		String aString = Integer.toString(a);
		String bString = Integer.toString(b);
		String display = aString + " + " + bString + " =";
		questionLabel.setText(display);
		final int c = a + b;
		
		    	if(edittext.getText().toString().equals(String.valueOf(c))){
		    		
					answerLabel.setText(R.string.answer_correct);
					answerLabel.setTextColor(R.color.correct_color);
					
				}
				else
				{
					
					answerLabel.setText(R.string.answer_wrong);
					answerLabel.setTextColor(R.color.wrong_color);
					//answerLabel.setBackgroundColor(R.color.background_answer);
				}
		    }
		
