title: Drawable as background of splash theme doesn't keep ratio
body: <p>In my application, I'm trying to set the <code>splash t</code>heme with a <code>drawable background</code>. It works correctly if I use a <em>small image</em>, but when the image is <em>bigger then the screen size</em>, it doesn't work anymore.</p>
  
  <p>The image is <em>correctly scaled horizzontally</em>, but the <code>height</code> isn't, as follows:
  <a href="https://i.stack.imgur.com/AwAjX.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/AwAjX.jpg" alt="my splash"></a></p>
  
  <p>I tried every scaletype and gravity, what else can I do?</p>
  
  <p><strong>this is my Theme:</strong></p>
  
  <pre><code>&lt;style name="SplashTheme" parent="AppTheme"&gt;
      &lt;item name="android:windowBackground"&gt;@drawable/background_splash&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p><strong>This is my background_splash.xml</strong></p>
  
  <p>
  </p>
  
  <pre><code>&lt;item android:drawable="@android:color/white" /&gt;
  
  &lt;item
      android:left="50dp"
      android:right="50dp"
      &gt;
      &lt;bitmap android:src="@drawable/logo_splash"
          android:gravity="center|clip_horizontal"
          android:scaleType="centerInside"
          /&gt;
  &lt;/item&gt;
  </code></pre>
  
  <p></p>
  
  <p><strong>and this is my manifest (relevant code):</strong></p>
  
  <pre><code>    &lt;activity
          android:name=".activities.SplashScreenActivity"
          android:configChanges="orientation|screenSize"
          android:theme="@style/SplashTheme"&gt;
          &lt;intent-filter&gt;
              &lt;action android:name="android.intent.action.MAIN" /&gt;
              &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
          &lt;/intent-filter&gt;
      &lt;/activity&gt;
  </code></pre>
  
  <p>Any idea?</p>