title: Content not showing in dynamically created android TableLayout
body: <p>I'm trying to make a 3-column <code>TableLayout</code> but I never see anything. Here's my java code:</p>
  
  <pre><code>         TableLayout tl = (TableLayout)findViewById(R.id.tableLayout1);
           TableRow tr = new TableRow(this);
           tr.setLayoutParams(new LayoutParams(LayoutParams.FILL_PARENT,LayoutParams.WRAP_CONTENT));
  
  
           TextView tv = new TextView(this);
           tv.setLayoutParams(new LayoutParams(
                     LayoutParams.FILL_PARENT,
                     LayoutParams.WRAP_CONTENT));
           tv.setText(data[0]);
           tr.addView(tv);
  
           TextView tv1 = new TextView(this);
           tv1.setLayoutParams(new LayoutParams(
                   LayoutParams.FILL_PARENT,
                   LayoutParams.WRAP_CONTENT));
           tv1.setText(data[1]);
           tr.addView(tv1);
  
           TextView tv2 = new TextView(this);
           tv2.setLayoutParams(new LayoutParams(
                 LayoutParams.FILL_PARENT,
                 LayoutParams.WRAP_CONTENT));
           tv2.setText(data[2]);
           tr.addView(tv2);
  
          /* Add row to TableLayout. */
          tl.addView(tr,new TableLayout.LayoutParams(LayoutParams.FILL_PARENT, LayoutParams.WRAP_CONTENT));
  </code></pre>
  
  <p>And here is my XML file:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="match_parent"
  android:layout_height="wrap_content"
  android:orientation="vertical"
  android:id="@+id/LinearLayout1" &gt;
  
  
  
  &lt;TableLayout
      android:id="@+id/tableLayout1"
      android:layout_width="fill_parent"
      android:layout_height="350dp"
      android:layout_marginTop="10dp"
      &gt;
  
  &lt;/TableLayout&gt;
  
  
  &lt;Button
      android:id="@+id/BorrarPedido"
      android:layout_width="204dp"
      android:layout_height="wrap_content"
      android:text="Borrar Pedido"
      android:layout_gravity="center" /&gt;
  
  &lt;Button
      android:id="@+id/EnviarPedido"
      android:layout_width="204dp"
      android:layout_height="wrap_content"
      android:text="Enviar Pedido"
      android:layout_gravity="center" /&gt;
  
     &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>I get no error messages, I get nothing. The problem is that apart from the 2 <code>Buttons</code> which are out of the <code>TableLayout</code>, I can't see anything. Any idea why this happens?</p>