title: How to make TextView fill only the available space
body: <p>Ive looked at the similar answers on SO but they didnt work for me. I have the following layout which may not be optimum (please point out any mistakes as I am a total beginner).</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;GridLayout xmlns:android="http://schemas.android.com/apk/res/android"
                android:orientation="vertical"
                android:layout_width="fill_parent"
                android:layout_height="fill_parent" android:rowCount="3" android:columnCount="1" android:padding="0dp"
                android:background="#ebe0cf"&gt;
  
      &lt;LinearLayout
              android:orientation="vertical"
              android:layout_width="fill_parent"
              android:layout_height="wrap_content" android:layout_row="0" android:layout_column="0"
              android:background="#ebe0cf" android:layout_marginTop="5dp"&gt;
          &lt;TextView
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:text="Book Name"
                  android:id="@+id/textView" android:layout_gravity="center_horizontal" android:textSize="30dp"
                  android:textStyle="bold"/&gt;
          &lt;TextView
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:text="Chapter Name"
                  android:id="@+id/textView1" android:textSize="13dp" android:layout_gravity="center_horizontal"
                  android:layout_marginTop="-3dp"/&gt;
      &lt;/LinearLayout&gt;
  
  
      &lt;TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum."
                android:id="@+id/textView4" android:padding="5dp" android:background="#ffffff"
                android:layout_margin="10dp"
              android:scrollbars="vertical"/&gt;
  
      &lt;LinearLayout
              android:orientation="horizontal"
              android:layout_width="fill_parent"
              android:layout_height="wrap_content" android:layout_row="2" android:layout_column="0"
              android:background="#ebe0cf"&gt;
          &lt;Button
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:text="Prev"
                  android:id="@+id/button"/&gt;
          &lt;Button
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:text="Next"
                  android:id="@+id/button1"/&gt;
          &lt;Button
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:text="Language"
                  android:id="@+id/button2"/&gt;
      &lt;/LinearLayout&gt;
  &lt;/GridLayout&gt;
  </code></pre>
  
  <p>What is happening is once the TextView has long enough text it pushes the buttons off the page, I would like the buttons to stay in place at the bottom and for the TextView to start scrolling... I tried placing it inside a ScollView and the same happened.</p>
  
  <p>I would like to keep it simple, so if possible I would like to avoid using things like relative layouts.</p>