title: Android set triangle drawable to Button drawable left
body: <p>i need some explanation how to set triangle.xml to Button drawable left. </p>
  
  <pre><code>    &lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;layer-list xmlns:android="http://schemas.android.com/apk/res/android" &gt;
  
      &lt;item&gt;
          &lt;rotate
              android:fromDegrees="45"
              android:pivotX="13%"
              android:pivotY="-40%"
              android:toDegrees="45" &gt;
              &lt;shape
                  android:shape="rectangle" &gt;
                  &lt;stroke
                      android:width="10dp"
                      android:color="#F000" /&gt;
  
                  &lt;solid android:color="@color/Lime" /&gt;
              &lt;/shape&gt;
          &lt;/rotate&gt;
      &lt;/item&gt;
  &lt;/layer-list&gt;
  </code></pre>
  
  <p>So i have drawable of triangle and it wont show up when i put it as DrawableLeft of button.</p>
  
  <p>is there are other way to make triangle as pure shape or some method to make it work?</p>