title: Use Linear Layout in TableRow
body: <p>I try to make a table in my Android app with cells like this:</p>
  
  <p><a href="http://clip2net.com/s/iKPw39" rel="nofollow">http://clip2net.com/s/iKPw39</a></p>
  
  <p>(sorry for this link, I can't attach images due to low reputation)</p>
  
  <p>My idea was to use a linear layout in a table row, but is not working correct.
  Please, if you have any idea about how to modify the table layout to work as I expect - give me any idea.</p>
  
  <p><strong>My xml code</strong></p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:tools="http://schemas.android.com/tools"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_alignParentBottom="true"
      android:layout_alignParentLeft="true"
      android:layout_alignParentRight="true"
      android:layout_alignParentTop="true"
      android:background="@color/black"
      android:orientation="vertical" &gt;
  
      &lt;TableLayout
          style="@style/TextColor"
          android:layout_width="fill_parent"
          android:layout_height="0dp"
          android:layout_weight="90"
          android:stretchColumns="1"
          android:textColor="@colors/white" &gt;
  
          &lt;TableRow&gt;
  
          &lt;TextView
              style="@style/TextColor"
              android:layout_width="0dip"
              android:layout_height="fill_parent"
              android:layout_weight="1"
              android:background="@drawable/cell"
              android:gravity="center"
              android:padding="10dip"
              android:singleLine="false"
              android:text="@string/start_time" /&gt;
  
              &lt;TextView
                  style="@style/TextColor"
                  android:layout_width="0dip"
                  android:layout_height="fill_parent"
                  android:layout_weight="1"
                  android:background="@drawable/cell"
                  android:gravity="center"
                  android:padding="10dip"
                  android:text="@string/start_time" /&gt;
  
          &lt;/TableRow&gt;
          &lt;TableRow
              android:id="@+id/tableRow2"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content" &gt;
  
              &lt;TextView
                  style="@style/TextColor"
                  android:layout_width="0dip"
                  android:layout_height="fill_parent"
                  android:layout_weight="1"
                  android:background="@drawable/cell"
                  android:gravity="center"
                  android:padding="10dip"
                  android:text="@string/start_time" /&gt;
  
              &lt;TextView
                  style="@style/TextColor"
                  android:layout_width="0dip"
                  android:layout_height="fill_parent"
                  android:layout_weight="1"
                  android:background="@drawable/cell"
                  android:gravity="center"
                  android:padding="10dip"
                  android:text="@string/start_time" /&gt;
  
          &lt;/TableRow&gt;
  
          &lt;TableRow
              android:id="@+id/tableRow3"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content" &gt;
               &lt;TextView
                  style="@style/TextColor"
                  android:layout_width="0dip"
                  android:layout_height="fill_parent"
                  android:layout_weight="1"
                  android:background="@drawable/cell"
                  android:gravity="center"
                  android:padding="10dip"
                  android:text="@string/start_time" /&gt;
               &lt;TextView
                  style="@style/TextColor"
                  android:layout_width="0dip"
                  android:layout_height="fill_parent"
                  android:layout_weight="1"
                  android:background="@drawable/cell"
                  android:gravity="center"
                  android:padding="10dip"
                  android:text="@string/start_time" /&gt;
          &lt;/TableRow&gt;
  
          &lt;TableRow
              android:id="@+id/tableRow4"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content" &gt;
          &lt;/TableRow&gt;
  
          &lt;TableRow
              android:id="@+id/tableRow1"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content" &gt;
          &lt;/TableRow&gt;
  
      &lt;/TableLayout&gt;
  
       &lt;TextView
           android:layout_width="fill_parent"
           android:layout_height="0dp"
           android:layout_weight="10"
           android:gravity="center"
           android:text="ADDS" /&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p><strong>EDIT</strong>
  I made some changes according to your comments. Please, take a look and tell me please, why the text is not displayed?</p>
  
  <pre><code>    &lt;LinearLayout xmlns:tools="http://schemas.android.com/tools"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_alignParentBottom="true"
      android:layout_alignParentLeft="true"
      android:layout_alignParentRight="true"
      android:layout_alignParentTop="true"
      android:background="@color/black"
      android:orientation="vertical" xmlns:android="http://schemas.android.com/apk/res/android"&gt;
  
          &lt;LinearLayout 
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:background="@color/black"
              android:orientation="horizontal"
              android:baselineAligned="false" &gt;
  
              &lt;LinearLayout
                  android:layout_weight=".5"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:background="@drawable/cell"
                  android:orientation="vertical" &gt;
  
                      &lt;TextView
                          android:layout_height="fill_parent"
                          style="@style/TextColor"
                          android:gravity="center"
                          android:padding="10dip"
                          android:text="@string/start_time" /&gt;
                      &lt;TextView
                          style="@style/TextColor"
                          android:gravity="center"
                          android:padding="10dip"
                          android:text="@string/activate" /&gt;
              &lt;/LinearLayout&gt;
  
              &lt;LinearLayout 
                  android:layout_weight=".5"
                  android:layout_width="0dip"
                  android:layout_height="wrap_content"
                  android:background="@drawable/cell"
                  android:orientation="vertical" &gt;
                      &lt;TextView
                          android:layout_height="fill_parent"
                          style="@style/TextColor"
                          android:gravity="center"
                          android:padding="10dip"
                          android:text="@string/start_time" /&gt;
                      &lt;TextView
                          style="@style/TextColor"
                          android:gravity="center"
                          android:padding="10dip"
                          android:text="@string/activate" /&gt;
              &lt;/LinearLayout&gt;
          &lt;/LinearLayout&gt;
  </code></pre>
  
  <p></p>