how to set color for the textView in android?
<p>In the string.xml file  i use the following tag </p>

<pre><code>&lt;color name="mycolor1"&gt;#F5DC49&lt;/color&gt;
</code></pre>

<p>if i use </p>

<pre><code> textview1.setTextColor(Color.CYAN);
</code></pre>

<p>it works, But</p>

<pre><code> textview1.setTextColor(R.color.mycolor1);
</code></pre>

<p>This is not working</p>

<p>how to use the color tag in android.</p>
