title: Align unknown height image along bottom of RelativeLayout
body: <p>I need to have a screen with an image laid out along the bottom of the screen.  The image itself is fixed (from resources).  It's quite large and is scaled down to the width of each device. I tried to use simple <code>layout_alignParentBottom</code>, like so:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:id="@+id/LayoutLoading"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      android:background="@color/startup" &gt;
  
      &lt;ImageView
          android:id="@+id/ImageView01"
          android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:layout_alignParentBottom="true"
          android:scaleType="fitCenter"
          android:src="@drawable/loading" /&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>Yes, this didn't work.  Unless I specify exact height of the image (in place of <code>wrap_content</code>), the <code>ImageView</code> is not aligned at the bottom.  Most likely this is due to the fact that the actual image is higher than the screen size and becomes "shorter" only after scaled down to the width of the screen.</p>
  
  <p>So, the question is how do I get the <code>ImageView</code> to stay at the bottom of the screen regardless of the size of the device?</p>