title: android TextView: setting the background color dynamically doesn't work
body: <p>Setting the background color programatically of an android <code>TextView</code> doesn't seem to work.
  I'm I missing something!</p>
  
  <pre><code>TextView et = new TextView(activity);
  et.setText("350");
  et.setBackgroundColor(R.color.white);
  </code></pre>
  
  <p>I also have this file (colors.xml) in my res/values folder</p>
  
  <pre><code>&lt;resources&gt;
          &lt;color name="white"&gt;#ffffffff&lt;/color&gt;
          &lt;color name="black"&gt;#ff000000&lt;/color&gt;
  &lt;/resources&gt;
  </code></pre>
  
  <p>[EDIT]: 
  Also, setting the text color causes the TextView to disappear.</p>
  
  <pre><code>TextView c1 = new TextView(activity);
  c1.setTextColor(R.color.solid_red);
  c1.setText("My Text");
  </code></pre>