title: How to force a TableLayout to fit the whole screen?
body: <p>Currently I am trying to create a basic tablelayout at runtime in android. I have tried every combination of Wrap_Content, Match_Parent, and set weight but nothing seems to work. </p>
  
  <p>Essentially I want this:</p>
  
  <pre><code>        Title
  </code></pre>
  
  <p>Text A <strong><em>*</em>**<em>*</em>**<em>*</em></strong> Text A1</p>
  
  <p>Text B <strong><em>*</em>**<em>*</em>**<em>*</em></strong> Text B1</p>
  
  <p>Text C <strong><em>*</em>**<em>*</em>**<em>*</em></strong> Text C1</p>
  
  <p>Where the <em>*</em> means blank space (Sorry, I couldn't figure out how to format it). I want this to continue such that it fills the screen both horizontally and vertically. Currently I am able to make it fit the screen horizontally but it leaves a large blank space on the bottom.</p>
  
  <p>My XML is this:</p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent"
  android:background="@drawable/blackboard"
  android:paddingBottom="@dimen/activity_vertical_margin"
  android:paddingLeft="@dimen/activity_horizontal_margin"
  android:paddingRight="@dimen/activity_horizontal_margin"
  android:paddingTop="@dimen/activity_vertical_margin"
  android:orientation="vertical" &gt;
  
  &lt;TextView
      android:id="@+id/textView2"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content" /&gt;
  
  &lt;TextView
      android:id="@+id/textView1"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:gravity="center"
      android:text="Classes"
      android:textColor="@color/white"
      android:textSize="25sp"
      android:textStyle="bold"
      android:typeface="serif" /&gt;
  &lt;ScrollView
      android:layout_width="fill_parent"
      android:layout_height="0dp"
      android:scrollbars="none"
      android:layout_weight="1"&gt;
      &lt;TableLayout
          android:id="@+id/displayTableForClasses"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:shrinkColumns="*"
          android:stretchColumns="*" &gt;
  
  &lt;/TableLayout&gt;
  &lt;/ScrollView&gt;
  </code></pre>
  
  <p></p>
  
  <p>What I essentially need is a way for the font to scale such that it will fill the entire screen vertically without wrapping around. What would be best is this case would be to have the font size be the largest possible without causing wrap-around and then the margins between the different TextViews to be increased such that it will fill the whole screen.</p>