title: Android TableRow children issue
body: <p>I have a <code>TableLayout</code> with 3 rows at present and each row has one child, a <code>TextView</code>. My problem is that the <code>TextViews</code> widths do not <code>"match_parent"</code> as they should. I have followed the procedure of not defining heights and widths for them(<a href="http://developer.android.com/reference/android/widget/TableRow.html" rel="nofollow">like the documentation says</a>) but for some reason the problem is still there. </p>
  
  <p>I have opened up the <code>hierarchyviewer</code> and had a look at the values, the <code>TableRow</code> fills the width as it should but the <code>TextView</code> does not fill the row, it is just wrapping the content. The full xml layout is below, does anybody have any ideas? </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:orientation="vertical"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent"&gt;
  &lt;TableRow
      android:layout_width="match_parent"
      android:layout_height="wrap_content"&gt;   
      &lt;TextView
          android:background="@drawable/textlines"
          android:text="@string/text1_string"
          android:textColor="#000000"
          android:padding="5dp"&gt;
      &lt;/TextView&gt;
  &lt;/TableRow&gt;
  &lt;TableRow
      android:layout_width="match_parent"
      android:layout_height="wrap_content"&gt;   
      &lt;TextView
          android:background="@drawable/textlines"
          android:text="@string/text1_string"
          android:textColor="#000000"
          android:padding="5dp"&gt;
      &lt;/TextView&gt;
  &lt;/TableRow&gt;
  &lt;TableRow
      android:layout_width="match_parent"
      android:layout_height="wrap_content"&gt;   
      &lt;TextView
          android:background="@drawable/textlines"
          android:text="@string/text1_string"
          android:textColor="#000000"
          android:padding="5dp"&gt;
      &lt;/TextView&gt;
  &lt;/TableRow&gt;
  &lt;/TableLayout&gt;
  </code></pre>
  
  <p>Also I'll include the xml file for the <code>@drawable/textlines</code>. Perhaps the problem is in there? (The <code>textlines</code> code is taken from a solution provided on here concerning a question about borders) I pretty much understand it and I don't think it should affect my problem but I could be wrong. Anyway, here it is:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;layer-list xmlns:android="http://schemas.android.com/apk/res/android" &gt;
  &lt;item&gt;
    &lt;shape 
      android:shape="rectangle"&gt;
          &lt;stroke android:width="1dp" android:color="#FF000000" /&gt;
          &lt;solid android:color="#FFDDDDDD" /&gt;
  
      &lt;/shape&gt;
  &lt;/item&gt;
  
  &lt;item android:top="1dp" android:bottom="1dp"&gt; 
    &lt;shape 
      android:shape="rectangle"&gt;
          &lt;stroke android:width="1dp" android:color="#FFDDDDDD" /&gt;
          &lt;solid android:color="#00000000" /&gt;
      &lt;/shape&gt;
  &lt;/item&gt;
  &lt;/layer-list&gt;
  </code></pre>