title: Stretch Image to Fit
body: <p>The <code>src</code> should stretch its width to <code>match_parent</code>, while keeping aspect ratio.  When the image is larger than the parent, it scales down correctly.  But when the image is smaller, it does not scale up. (illustration shows desired behavior).</p>
  
  <p><img src="https://i.stack.imgur.com/zXGeH.png" alt="enter image description here"></p>
  
  <pre><code>&lt;RelativeLayout
      android:layout_width="match_parent"
      android:layout_height="match_parent" &gt;
  
      &lt;ImageView
          android:id="@+id/banner"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:scaleType="fitCenter"
          android:adjustViewBounds="true"
          android:src="@drawable/foo"
          /&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p><br></p>
  
  <p>Using <code>ScaleType.fitXY</code> stretches the <code>width</code> only</p>