title: Defining a ScrollView without setting it's height
body: <p>I created a ScrollView and want it to expand to the available space, without having to set a fixed height (i.e. "250px") for it.</p>
  
  <p>As such, I created a RelativeLayout. The basic outline follows:</p>
  
  <pre><code>&lt;RelativeLayout&gt;
      &lt;LinearLayout 
          android:id="@+id/x" &gt;
          &lt;TextView 
              android:text="Title" ... /&gt;
      &lt;/LinearLayout&gt;
      &lt;ScrollView 
          android:id="@+id/y"
          android:layout_below="@id/x" /&gt;
      &lt;LinearLayout
          android:layout_below="@id/y" 
          android:layout_width="fill_parent"
          android:layout_height="wrap_content" 
          android:gravity="center_horizontal|bottom" &gt;
          &lt;Button ...&gt;
      &lt;/LinearLayout&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>The idea of the Layout is to have the Title on top, the Button in near the bottom of the screen and the ScrollView in between those two.</p>
  
  <p>The problem is, I still have to use android_height in the definition of ScrollView, so its still fixed to that height.</p>
  
  <p>How can I work around this?</p>
  
  <p>Thanks.</p>