android views inside a table layout?
<p>I have 6 icons that I put in a TableLayout with 2 icons per row. </p>

<p>So this is how the layout looks like:</p>

<pre><code>    &lt;TableLayout
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:shrinkColumns="*"&gt;
      &lt;View
        android:layout_width="match_parent"
        android:layout_height="0dip"
        android:layout_weight="2"/&gt;
      &lt;TableRow&gt;
...
      &lt;/TableRow&gt;
      &lt;View
        android:layout_width="match_parent"
        android:layout_height="0dip"
        android:layout_weight="1"/&gt;
      &lt;TableRow&gt;
...
      &lt;/TableRow&gt;
      &lt;View
        android:layout_width="match_parent"
        android:layout_height="0dip"
        android:layout_weight="1"/&gt;
      &lt;TableRow&gt;
...
      &lt;/TableRow&gt;
      &lt;View
        android:layout_width="match_parent"
        android:layout_height="0dip"
        android:layout_weight="4"/&gt;

    &lt;/TableLayout&gt;
</code></pre>

<p>When the Views have equal weight, this layout looks fine. However, if I change their weights to what is shown, the layout doesn't come out quite right. </p>

<p>I have attached a screenshot to this: </p>

<p><a href="http://i.imgur.com/OqfMa.png" rel="nofollow">http://i.imgur.com/OqfMa.png</a><img src="http://i.stack.imgur.com/u77A2.png" alt="enter image description here"></p>

<p>Any suggestions on getting this to work? </p>
