Android layer-list does not show scale drawable item?
<p>Using the layer-list below, my scale drawable is never shown.  Why is that?</p>

<p><strong>menu_dialog_header.xml</strong></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;shape&gt;
      &lt;solid android:color="@color/black"&gt;&lt;/solid&gt;
    &lt;/shape&gt;
  &lt;/item&gt;
  &lt;item&gt;
    &lt;scale
      android:scaleHeight="50%"
      android:scaleWidth="100%"
      android:scaleGravity="top"
      android:drawable="@drawable/shine" /&gt;
  &lt;/item&gt;
&lt;/layer-list&gt;
</code></pre>

<p><strong>shine.xml</strong></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;solid android:color="@color/shine" /&gt;
&lt;/shape&gt;
</code></pre>

<p><strong>menu_dialog.xml</strong></p>

<pre><code>&lt;!-- header --&gt;
&lt;LinearLayout
  android:background="@drawable/menu_dialog_header"
  android:layout_width="match_parent"
  android:layout_height="wrap_content"
  android:gravity="center_horizontal|center"
  android:padding="8dp"
  android:orientation="horizontal" &gt;
  ...
</code></pre>
