title: How to get android:layout_gravity="bottom" to work in LinearLayout
body: <p>I am trying to have 1 image on the top of my LinearLayout and 1 at the bottom on the LinearLayout.</p>
  
  <p>But after all the things I tried, I can only get 1 image layout below another. I want 1 align to the top, 1 align to the bottom.</p>
  
  <pre><code>&lt;LinearLayout 
      android:layout_width="wrap_content"
      android:layout_height="match_parent"
      android:orientation="vertical"&gt;
      &lt;ImageView 
          android:layout_height="wrap_content"
          android:layout_width="wrap_content"
          android:background="@drawable/bg1"
          android:layout_gravity="top" /&gt;
      &lt;ImageView 
          android:layout_height="wrap_content"
          android:layout_width="wrap_content"
          android:background="@drawable/bg2"
          android:layout_gravity="bottom" /&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>I have tried using RelativeLayout (in the main container) with layout_alignParentBottom (in my second image), but that does not solve my problem either. </p>
  
  <p>Thank you for any idea.</p>