title: Using Drawable instead of shape
body: <p>Is there any way to create a <strong>XML drawable</strong> with <strong>drawable</strong> and <strong>stroke</strong>?</p>
  
  <p>Usually we use shape with stroke like this code:</p>
  
  <pre><code>        &lt;item android:state_pressed="true"&gt;
          &lt;shape&gt;
              &lt;gradient
                  android:angle="270.0"
                  android:endColor="@color/rounded_container_bg"
                  android:startColor="@color/rounded_container_bg" /&gt;
  
              &lt;corners android:radius="11.0dip" /&gt;
          &lt;/shape&gt;
      &lt;/item&gt;
      &lt;item&gt;
          &lt;shape&gt;
              &lt;stroke
                  android:width="1.0px"
                  android:color="@color/rounded_container_border" /&gt;
  </code></pre>
  
  <p>I think this is not possible to use drawable in this code But is there any other methods that I can use it to create an image surrounded by stroke?</p>
  
  <p>I need this method to create buttons and I want to use a background image (PNG) with stroke.</p>
  
  <p>Thanks</p>