title: layer-list dosen't display correctly below android m
body: <p>I wanna draw a cross like "x" and this is my code: </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 android:gravity="center"&gt;
      &lt;rotate
          android:fromDegrees="45"
          android:pivotX="50%"
          android:pivotY="50%"
          android:toDegrees="45"&gt;
        &lt;shape&gt;
          &lt;corners android:radius="1px"/&gt;
          &lt;size
              android:height="2px"
              android:width="10px"/&gt;
          &lt;solid android:color="@android:color/holo_red_dark"/&gt;
        &lt;/shape&gt;
      &lt;/rotate&gt;
    &lt;/item&gt;
  
    &lt;item android:gravity="center"&gt;
      &lt;rotate
          android:fromDegrees="45"
          android:pivotX="50%"
          android:pivotY="50%"
          android:toDegrees="45"&gt;
        &lt;shape&gt;
          &lt;corners android:radius="1px"/&gt;
          &lt;size
              android:height="10px"
              android:width="2px"/&gt;
          &lt;solid android:color="@android:color/holo_red_dark"/&gt;
        &lt;/shape&gt;
      &lt;/rotate&gt;
    &lt;/item&gt;
  &lt;/layer-list&gt;
  </code></pre>
  
  <p>It is ok on device running android m (api >= 22) but error on other devices (api &lt; 22).</p>
  
  <p>Is it the bug of android?</p>