title: listview with table layout
body: <p>i am developing one activity in which i use list view with table lay out .
  I want to display images and text in that list view ,but the problem is that the images are display slightly out of list order like</p>
  
  <pre><code> img1        text1                              img1    text1
    img2       text2     and i want this          img2    text2
   img3        text3                              img3    text3
   img4        text4                              img4    text4
   img5        text5                              img5    text5
  </code></pre>
  
  <p>this way.. so any idea about the property of list view or image view to set it in order properly ? then plz comment...</p>
  
  <p><strong>list_row.xml</strong></p>
  
  <pre><code>    &lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="fill_parent"
      android:layout_height="?android:attr/listPreferredItemHeight"
      android:background="#ffffff"
      android:padding="6dip" &gt;
  
      &lt;TableLayout
          android:layout_width="fill_parent"
          android:layout_height="fill_parent"
          android:layout_weight="1"
          android:background="#ffffff"
          android:stretchColumns="*" &gt;
  
          &lt;TableRow&gt;
  
              &lt;ImageView
                  android:id="@+id/icon"
                  android:layout_gravity="left"
                  android:background="#ffffff"
                  android:padding="2dip" /&gt;
  
              &lt;TextView
                  android:id="@+id/description"
                  android:background="#ffffff"
                  android:padding="2dip"
                  android:singleLine="true"
                  android:textColor="#000000"
                  android:textSize="12sp" /&gt;
          &lt;/TableRow&gt;
      &lt;/TableLayout&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p><strong>main.xml</strong>  </p>
  
  <pre><code>    &lt;?xml version="1.0" encoding="utf-8"?&gt;
      &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
          android:orientation="vertical"
          android:layout_width="fill_parent"
          android:layout_height="fill_parent"
          android:background="#ffffff"&gt;
  
  
  
      &lt;ListView
          android:id="@+id/android:list"
          android:background="#ffffff"
          android:layout_width="fill_parent"
          android:layout_height="fill_parent"
          android:dividerHeight="1dip"/&gt;
  &lt;/LinearLayout&gt;
  </code></pre>