title: Android: set color programatically from XML color constants
body: <p>Trying to set a color which is defined in res/values/colors.xml to an object, </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;resources&gt;
    &lt;drawable name="listViewSelected"&gt;@android:color/holo_blue_light&lt;/drawable&gt;
    &lt;drawable name="listViewPressed"&gt;@android:color/holo_green_light&lt;/drawable&gt;
    &lt;drawable name="pagerTabStrip"&gt;#2B3333&lt;/drawable&gt;
    &lt;!--&lt;drawable name="pagerTabStrip"&gt;#353F3E&lt;/drawable&gt;--&gt;
    &lt;drawable name="tableHead"&gt;#FF444444&lt;/drawable&gt;
  
  &lt;/resources&gt;
  </code></pre>
  
  <p>I can not figure out why it is not working, 
  I tried a lot of approaches <code>(getResources(), Color.parseColor(), ...)</code></p>
  
  <p>How do I set the color "tableHead" e.g. to a TextView?</p>
  
  <p>tv.setBackgroundColor(????);</p>