title: How to reuse drawable
body: <p>I have a number of background drawables that the only different is the color of the border or the color of the background. </p>
  
  <p>Is there a way to define a general drawable and then add (or change) the attribute I need. </p>
  
  <p>For example here is a rectangular drawable</p>
  
  <p><strong>XML file</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;shape
      xmlns:android="http://schemas.android.com/apk/res/android"
  
      android:shape="rectangle" &gt;
      &lt;corners android:radius="@dimen/radius_small"/&gt;
      &lt;solid android:color="@color/simple_black" /&gt;
      &lt;stroke android:width="2dip" android:color="@color/simple_white" /&gt;
      &lt;padding
          android:left="@dimen/two_dp"
          android:right="@dimen/two_dp"/&gt;
  &lt;/shape&gt;
  </code></pre>
  
  <p>and I would like to change the solid color or the stroke color, and not to create a separate drawable for each one.</p>