title: How to set Table width and number of Columns in TableLayout in Android
body: <p>Is there and any method to make table like html in android where i can set row column width as we do in html</p>
  
  <pre><code>&lt;table &gt;
  &lt;tr&gt;&lt;td style="width:'50%;"&gt;&lt;/td&gt;
      &lt;td style="width:'50%;"&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>
  
  <hr>
  
  <pre><code>&lt;TableLayout
             android:id="@+id/tableLayout1"
             android:layout_width="fill_parent"
             android:layout_height="fill_parent"
             android:stretchColumns="3" &gt;
             &lt;TableRow
                      android:id="@+id/tableRow1"
                      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;
  </code></pre>
  
  <hr>
  
  <p><strong>Edit 1:</strong></p>
  
  <p>For something like Html there the percentage width works with respect to its Parent </p>
  
  <p>but the weight introduced in Android works with respect to the screen size available for 
  root. </p>