title: How to stretch Layout to fill screen?
body: <p>I have simple layout like this: (it's for mail)</p>
  
  <pre><code>&lt;ScrollView android:layout_height="0dp" android:layout_width="fill_parent" android:layout_weight="1" android:background="@color/red_start"&gt;
  
          &lt;LinearLayout android:layout_height="fill_parent" android:layout_width="fill_parent" android:orientation="vertical" android:background="@color/blue_start"&gt;
  
              &lt;TextView style="@style/MyTextViewLabel" android:text="From" android:layout_marginTop="5dp"/&gt;
  
              &lt;LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" android:background="@drawable/shape_white_rounded"&gt;
                  &lt;TextView style="@style/MyTextViewLabel.Black" android:id="@+id/tv_sender" /&gt;
              &lt;/LinearLayout&gt;
  
              &lt;TextView style="@style/MyTextViewLabel" android:text="Subject" android:layout_marginTop="5dp"/&gt;
  
              &lt;LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" android:background="@drawable/shape_white_rounded"&gt;
                  &lt;TextView style="@style/MyTextViewLabel.Black" android:id="@+id/tv_subject" /&gt;
              &lt;/LinearLayout&gt;
  
              &lt;TextView style="@style/MyTextViewLabel" android:text="Body" android:layout_marginTop="5dp"/&gt;
  
              &lt;LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" android:background="@drawable/shape_white_rounded"&gt;
                  &lt;TextView style="@style/MyTextViewLabel.Black" android:id="@+id/tv_body" /&gt;
              &lt;/LinearLayout&gt;
  
          &lt;/LinearLayout&gt;
  
      &lt;/ScrollView&gt;
  </code></pre>
  
  <p>For some reason LinearLayout won't fill ScrollView as I expect. Basically, I want to make tv_body to fill screen and if there is more text - it should be scrollable. Right now it looks like this. I added colors to illustrate that ScrollView stretch but LinearLayout doesn't..</p>
  
  <p><img src="https://i.stack.imgur.com/fXuAF.png" alt="enter image description here"></p>