title: Android table layout formatting problems not fitting to screen
body: <p>i am using tablelayout with 3 columns lable, * and spinner, which all of that has wrap_content and it works fine when the spinner text is small. if any one of the spinner has very long text then all the spinner extents  till the end and also it is not fitting to the screen.</p>
  
  <p>is there any way to make each spinner to fit to its text size like wrap_content inside tablelayout.
  xml for table layout sample.</p>
  
  <pre><code>    &lt;TableLayout
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:background="#FFFFFF"
          android:stretchColumns="2" &gt;
        &lt;TableRow&gt;
  
              &lt;TextView
                  android:layout_width="wrap_content"
                  android:layout_column="0"
                  android:gravity="right"
                  android:paddingLeft="3dip"
                  android:text="Sold To"
                  android:textColor="#000033"
                  android:textSize="17sp" /&gt;
  
              &lt;TextView
                  android:layout_column="1"
                  android:gravity="left"
                  android:text="*"
                  android:textColor="#FF0000"
                  android:textSize="17sp"
                  android:width="20dip" /&gt;
  
              &lt;Spinner
                  android:id="@+id/sold_to_dd"
                  android:layout_width="wrap_content"
                  android:layout_column="2"
                   /&gt;
          &lt;/TableRow&gt;
  
  
      &lt;/TableLayout&gt;
  </code></pre>
  
  <p>i hope many would have come across the same problem. Thanks in advance</p>