title: Bitmap gravity set to center not filling the screen even though the image is big enough
body: <p>I have a RelativeLayout in my Android project. This has it's background set to a Bitmap:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;bitmap xmlns:android="http://schemas.android.com/apk/res/android"
      android:gravity="center"
      android:src="@drawable/splash2" /&gt;
  </code></pre>
  
  <p><code>splash2</code> is a PNG image sized 2560x1440 pixels. I haven't set the background of the layout directly to the image, because the default scale mode (or gravity) is <code>fill</code> which stretches the image to fit the screen. With <code>center</code> it should take correct size image from the center and show it unscaled. In case of a vertical 1080x1920 screen, it should take that big piece and center it in the layout. </p>
  
  <p>However, I have a problem. The image is bigger than any screen out in the market today. Still, with my Nexus 7, which has a 1920x1080 screen, it has borders around the image. The layout is set to full screen. The image is shrinked vertically. </p>
  
  <p><img src="https://i.stack.imgur.com/BsenU.png" alt="enter image description here"></p>
  
  <p>How do I fix this?</p>