title: How to Set android:textColor using drawable in Android?
body: <p>I know how to set a drawable as the color of the text using xml but I don't know how it is done in Java.</p>
  
  <p>In xml is something like this:</p>
  
  <pre><code>android:textColor="@drawable/selected_color"
  </code></pre>
  
  <p>in JAVA ?</p>