Setting the score on textview
<p>I am trying to set the score in a game but it isn't doing anything at the moment. </p>

<p>I have declared a score variable:</p>

<pre><code>    static int score = 0;
</code></pre>

<p>When an answer is shown in another textview as "Correct" I want the score to increment and show this in another textfield which will be for the score. </p>

<p>So far I have tried this: </p>

<pre><code>  public void score(){
    check.getText();
if(check.equals("Correct")){
    score++;
    Score.setText(String.valueOf(score));

}
</code></pre>

<p>check is a Textfield which shows Correct or Incorrect. Score is another textfield. 
and then I put the method score() into an onclick, but this doesn't update the textfield. </p>

<p>I would appreciate any advice on this. </p>

<p>Thanks</p>

<p>Edit:
<img src="http://i.stack.imgur.com/uZFQx.jpg" alt="enter image description here"></p>
