android dynamically change Text colour to an xml file
<p>I can change my background colours dynamically using prechosen colour very easily</p>

<pre><code>myButton.setBackground(Drawable.createFromPath("@color/white"));
</code></pre>

<p>However how do I do that for text colour?</p>

<pre><code>year_clicked.setTextColor(Color.parseColor("#333333"));
</code></pre>