Rectangle shape drawable, specify top and bottom stroke colors?
<p>Is there any way to define a top and bottom stroke for a gradient, or create a compound shape drawable?:</p>

<pre><code>// option1:
&lt;shape
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:shape="rectangle"&gt;

  &lt;gradient
    android:startColor="#f00"
    android:endColor="#0f0"
    /&gt;
  &lt;stroke
    top=1dip, yellow
    bottom=1dip, purple
    /&gt;
&lt;/shape&gt;

// option2
&lt;shape
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:shape="rectangle"&gt;

  &lt;shape
    android:shape="rectangle"
    height=1dip, color=yellow /&gt;

  &lt;gradient
    android:startColor="#f00"
    android:endColor="#0f0"
    /&gt;

  &lt;shape
    android:shape="rectangle"
    height=1dip, color=purple /&gt;
&lt;/shape&gt;
</code></pre>

<p>I don't think either are possible?</p>

<p>Thanks</p>
