Show correct answer in multiple choice app
<p>Im doing a multiple choice apps with 4 choices. I've downloaded a code. But how to prompt the user of the correct answer if his answer is incorrect answer (at the same time).Here is a sample of the code. Correct answer is green. Wrong answer is red.</p>

<pre><code>    optionOne.setOnClickListener(this);     //On First Option selection
    optionTwo.setOnClickListener(this);     //On Second Option selection
    optionThree.setOnClickListener(this);   //On Third Option selection
    optionFour.setOnClickListener(this);    //On Forth Option selection

public void onClick(View v) {
    if(v.getId() == optionOne.getId()){
        onOptionSelected(optionOne.getText().toString(), v);
        optionOne.setBackgroundColor(Color.RED);
    }else if(v.getId() == optionTwo.getId()){
        onOptionSelected(optionTwo.getText().toString(), v);
        optionTwo.setBackgroundColor(Color.RED);
    }else if(v.getId() == optionThree.getId()){
        onOptionSelected(optionThree.getText().toString(), v);
        optionThree.setBackgroundColor(Color.RED);
    }else if(v.getId() == optionFour.getId()){
        onOptionSelected(optionFour.getText().toString(), v);
        optionFour.setBackgroundColor(Color.RED);
    }else if(v.getId() == pause.getId()){   //True when Game is Paused 

//When an option of a question is selected
private void onOptionSelected(String option, View v){
    if(!isGamePaused &amp;&amp; !isGameEnded) { //true when game is being played
        ATriviaQuestion tTQuestion = myListOfTriviaQuestions.get(currentQuestionNumber);
        if(option.equals(tTQuestion.GetOptions().get(tTQuestion.GetAnswer() - 1))) {
            correct += 1;
            v.setBackgroundColor(Color.GREEN);

        }
        else{
            incorrect += 1;
            totalPoints -= pointsPerWrongAnswer;
        }
</code></pre>

<p>I need to insert a code on this portion to show the correct answer in green background if the user answer is incorrect but i don't know how.</p>

<pre><code>else{
incorrect += 1;
totalPoints -= pointsPerWrongAnswer;
</code></pre>

<p>The database questions is in .plist</p>

<pre><code>&lt;question&gt;
&lt;key&gt;Question&lt;/key&gt;
&lt;string&gt;What is the ....&lt;/string&gt;
&lt;key&gt;Options&lt;/key&gt;
&lt;array&gt;
&lt;string&gt;option 1&lt;/string&gt;
&lt;string&gt;option 2&lt;/string&gt;
&lt;string&gt;option 3&lt;/string&gt;
&lt;string&gt;option 4&lt;/string&gt;
&lt;/array&gt;
&lt;key&gt;Answer&lt;/key&gt;
&lt;integer&gt;2&lt;/integer&gt;
&lt;/question&gt;
</code></pre>

<p>Here is my other code</p>

<pre><code>public ATriviaQuestion(){
isThisQuestionAsked = false;
answer = -1;
answered = "";
}

public String GetQuestion()
{ return this.question; }

public void SetQuestion(String _question)
{ this.question=_question; }

public ArrayList&lt;String&gt; GetOptions()
{ return this.options; }

public void SetOptions(ArrayList&lt;String&gt; _options)
{ this.options = _options; }

public int GetAnswer()
{ return this.answer; }

public void SetAnswer(int _answer)
{ this.answer = _answer; }
</code></pre>
