title: Android Color Drawable Resource
body: <p>I have the following colors:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;resources&gt;
    &lt;drawable name="darkgray"&gt;#404040ff&lt;/drawable&gt;
    &lt;drawable name="black"&gt;#000ff&lt;/drawable&gt;
    &lt;drawable name="red"&gt;#ff00ff&lt;/drawable&gt;
    &lt;drawable name="green"&gt;#0ff0ff&lt;/drawable&gt;
    &lt;drawable name="lightgray"&gt;#c0c0c0ff&lt;/drawable&gt;
    &lt;drawable name="white"&gt;#ffffffff&lt;/drawable&gt;
    &lt;drawable name="yellow"&gt;#ffff0ff&lt;/drawable&gt;
    &lt;drawable name="blue"&gt;#00ffff&lt;/drawable&gt;
    &lt;drawable name="gray"&gt;#808080ff&lt;/drawable&gt;
    &lt;drawable name="magenta"&gt;#ff0ffff&lt;/drawable&gt;
    &lt;drawable name="cyan"&gt;#0ffffff&lt;/drawable&gt;
  &lt;/resources&gt;
  </code></pre>
  
  <p>And I have the following in my Main Layout file for a Button background color:  (snippet)</p>
  
  <pre><code>&lt;Button
    android:id="@+id/widget27"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:background="@drawable/yellow"
    android:text="Button"
    android:layout_x="30px"
    android:layout_y="102px"
  &gt;
  &lt;/Button&gt;
  </code></pre>
  
  <p>My question is:   What do I name the file with the colors, and where do I put it?  I am getting a compile error, aresgen exit error.  </p>
  
  <p>I'm looking for a filename and location where the background colors can be accessed. </p>
  
  <p>Thanks, </p>