title: Make drawable do centerCrop in layer-list
body: <p>all.</p>
  
  <p>I want to make splashscreen:</p>
  
  <pre><code>&lt;style name="SplashTheme" parent="Theme.AppCompat.NoActionBar"&gt;
      &lt;item name="android:windowBackground"&gt;@drawable/background_splash&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p><strong>drawable/background_splash:</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  </code></pre>
  
  <p></p>
  
  <pre><code>&lt;item
      android:drawable="@color/main_theme"/&gt;
  
  &lt;item android:bottom="16dp"&gt;
      &lt;bitmap
          android:gravity="center|fill_horizontal"
          android:src="@drawable/splash_logo"
          /&gt;
  &lt;/item&gt;
  
  &lt;item android:bottom="16dp"&gt;
      &lt;bitmap
          android:gravity="bottom"
          android:src="@drawable/logo"/&gt;
  &lt;/item&gt;
  </code></pre>
  
  <p></p>
  
  <p>But I have no ability to make bitmap with android:src="@drawable/splash_logo" resize as centerCrop scale in ImageView( I need my bitmap fill all width) For now it's size as size in resource in pixels. If i make it much larger it will be larger the screen. I tried scale drawable and no sense.</p>
  
  <p>Do you have any suggestions?</p>