title: Android TableLayout make all buttons same size
body: <p>I'm making a custom dialer and want to have all the buttons be the same size but because some of the text is longer than others (e.g. the "7" button has "PQRS" under it) it stretches out some columns.  Here is what I'm doing currently, what am I doing wrong?</p>
  
  <pre><code>&lt;TableLayout
      android:id="@+id/tableView"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:stretchColumns="*" &gt;
      &lt;TableRow
          android:layout_weight="1"
          android:gravity="center" &gt;
          &lt;Button
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:soundEffectsEnabled="false"
              android:textSize="20sp"
              android:text="@string/dialer_one" /&gt;
          &lt;Button
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:soundEffectsEnabled="false"
              android:textSize="20sp"
              android:text="@string/dialer_two" /&gt;
          &lt;Button
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:soundEffectsEnabled="false"
              android:textSize="20sp"
              android:text="@string/dialer_three" /&gt;
      &lt;/TableRow&gt;
      &lt;TableRow
          android:layout_weight="1"
          android:gravity="center" &gt;
          &lt;Button
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:soundEffectsEnabled="false"
              android:textSize="20sp"
              android:text="@string/dialer_four" /&gt;
          &lt;Button
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:soundEffectsEnabled="false"
              android:textSize="20sp"
              android:text="@string/dialer_five" /&gt;
          &lt;Button
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:soundEffectsEnabled="false"
              android:textSize="20sp"
              android:text="@string/dialer_six" /&gt;
      &lt;/TableRow&gt;
      &lt;TableRow
          android:layout_weight="1"
          android:gravity="center" &gt;
          &lt;Button
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:soundEffectsEnabled="false"
              android:textSize="20sp"
              android:text="@string/dialer_seven" /&gt;
          &lt;Button
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:soundEffectsEnabled="false"
              android:textSize="20sp"
              android:text="@string/dialer_eight" /&gt;
          &lt;Button
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:soundEffectsEnabled="false"
              android:textSize="20sp"
              android:text="@string/dialer_nine" /&gt;
      &lt;/TableRow&gt;
      &lt;TableRow
          android:layout_weight="1"
          android:gravity="center" &gt;
          &lt;Button
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:soundEffectsEnabled="false"
              android:textSize="20sp"
              android:text="@string/dialer_star" /&gt;
          &lt;Button
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:soundEffectsEnabled="false"
              android:textSize="20sp"
              android:text="@string/dialer_zero" /&gt;
          &lt;Button
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:soundEffectsEnabled="false"
              android:textSize="20sp"
              android:text="@string/dialer_pound" /&gt;
      &lt;/TableRow&gt;
  &lt;/TableLayout&gt;
  </code></pre>