Nested Drawables
<p>Can I include a drawable inside another drawable?</p>

<p>The backstory is simple - I have a drawable, and I need different color backgrounds for an item, but I want the other properties (corners, stroke, etc.) the same. </p>

<p>Let's say I have this as a base:</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:bottomRightRadius="7dp" 
         android:bottomLeftRadius="7dp" 
         android:topLeftRadius="7dp" 
         android:topRightRadius="7dp"/&gt; 
          &lt;stroke android:width="4dp" android:color="#FF00FF00" /&gt;

&lt;/shape&gt; 
</code></pre>

<p>Which I then include in another drawable:</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;include 
         android:include="@drawable/base" /&gt; 
              &lt;solid android:color="#00000000"/&gt; 

&lt;/shape&gt; 
</code></pre>

<p>And if this is not possible, how do manage this kind of thing?</p>
