title: How to set Table Column in android
body: <p>I am having some difficulty setting layout parameters of table rows (containing text views). </p>
  
  <p>I want to add some columns to get a good layout. I am doing it dynamically. (in  code) </p>
  
  <pre><code>&lt;TableRow&gt; 
      &lt;TextView
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="ok"/&gt;
      &lt;TextView
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="bye"/&gt;
  &lt;/TableRow&gt;
  </code></pre>
  
  <p>I want these two textviews to become two columns and layout on screen accordingly.</p>