title: match_parent doesn't fill parent!
body: <p>I have LinearLayout inside TableRow.
  The LinearLayout get initiated in the code, this way:</p>
  
  <pre><code>LinearLayout  mainRowLayout = new LinearLayout(this);
  mainRowLayout.setLayoutParams(new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT));
  TableRow tr = new TableRow(this);
  tr.addView(mainRowLayout);
  </code></pre>
  
  <p>The problem is that the LinearLayout doesn't fill the parent (which is the TableRow).
  The attached images illustrates the problem, as shown in the Android's hirarchyViewer (The green rectangles are my marks).</p>
  
  <p><a href="http://picasaweb.google.com/113855881679019235357/UntitledAlbum#5558641368516190498" rel="noreferrer">"LinearLayout image"</a></p>
  
  <p>Thanks.</p>