title: Tiled Bitmap in LayerListDrawable as background increases view height
body: <p>To achieve the effect shown in the image below, I combine a nine-patch and a noise bitmap (semi-transparent) in a layer-list, like so:</p>
  
  <pre><code>&lt;layer-list xmlns:android="http://schemas.android.com/apk/res/android" &gt;
    &lt;item&gt;
      &lt;nine-patch android:src="@drawable/actionbar_bg_patch" /&gt;
    &lt;/item&gt;
    &lt;item&gt;
      &lt;bitmap
          android:src="@drawable/actionbar_bg_noisetile"
          android:tileMode="repeat"/&gt;
    &lt;/item&gt;
  &lt;/layer-list&gt;
  </code></pre>
  
  <p>However, the view (height="wrap_content") is then stretched to the height of the noise bitmap - which is higher than the content even on the Galaxy Nexus.</p>
  
  <p><strong>Is there a way to crop/clip the bitmap in the layer-list while still repeating it?</strong></p>
  
  <p><img src="https://i.stack.imgur.com/YPjaR.png" alt="Screenshot"></p>