title: How to reference a color variable in a xml resource file
body: <p>I have this XML in my res/drawable directory:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;selector xmlns:android="http://schemas.android.com/apk/res/android" &gt;
  &lt;item &gt;
      &lt;shape android:shape="rectangle"  &gt;
           &lt;corners android:radius="10dip" /&gt;
           &lt;stroke android:width="1dip" android:color="#706969" /&gt;
           &lt;gradient android:angle="-90" android:startColor="#117e7a7a" android:endColor="#BB7e7a7a" /&gt;            
       &lt;/shape&gt;
   &lt;/item&gt;
  &lt;/selector&gt;
  </code></pre>
  
  <p>I want to put in <code>android:startColor="#117e7a7a"</code> a reference to a variable instead of a color value. ¿How can be that done? I can't find any info about that in google</p>
  
  <p>Thanks</p>