title: TableRow dynamically created with different contents
body: <p>I am creating <code>TableRows</code> dynamically. And there are two types of content for these <code>TableRows</code>.
  Some have 4 Views.
  And some have 2 Views.</p>
  
  <p>The problem is that <code>TableRows</code> with two, try to occupy the same space as the layout of which have four.
  This is happening:</p>
  
  <p>Img ThisTextViewHasThisSize</p>
  
  <p>Img TV0 <strong><em>_</em>__<em>_</em>__<em>_</em>__<em>_</em>__<em>_</em>____</strong>_TV1 TV2 </p>
  
  <p>...</p>
  
  <pre><code>    TableLayout tl = (TableLayout) findViewById(R.id.myTableLayout);
  
      for (int i = 0; i &lt; array.length; i++) {
  
          TableRow tr = new TableRow(this);
  
          ImageButton button = new ImageButton(this);
          tr.addView(button);
  
          TextView tv0 = new TextView(this);
          tv0.setText(array[i].something0());
  
              if (another type of TableRow) {
              TextView tv1 = new TextView(this);
              TextView tv2 = new TextView(this);
              tv1.setText(array[i].something1());
              tv2.setText(array[i].something2());
              tr.addView(tv1);
              tr.addView(tv2);
  
          }
          tr.addView(tv0);
  
          tl.addView(tr);
      }
  </code></pre>
  
  <p>Someone can tell me how to let the TableRows layouts totally independent from each other?</p>