how to get text color of textview?
<p>In given code lbl[0].getTextColor() is giving Error but i don't know how to get text color of textview  in java file please help me.</p>

<pre><code>public void angry(View v)
{
    if (lbl[0].getTextColor() == Color.BLACK)
        lbl[0].setTextColor(Color.RED);
    if (lbl[0].getTextColor() == Color.RED)
        lbl[0].setTextColor(Color.BLACK);
}   
</code></pre>

<p>Thanks.</p>
