i want to have table with 2 columns, and i want to both columns have same width
and i want my data displayed in both columns align to left here is my layout file: <?xml version="1.0" encoding="utf-8"?> <TableLayout xmlns:android="http://schemas.android.com/apk/res/ android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:stretchColumns="3"> <TableRow> <TextView android:id="@+id/left1" android:layout_height="wrap_content" android:textColor="#fff" android:layout_width="wrap_content" android:layout_margin="7dip" android:text="l1" android:layout_below="@id/myText" android:gravity="left"> </TextView> <TextView android:id="@+id/right1" android:layout_height="wrap_content" android:textColor="#fff" android:layout_width="wrap_content" android:layout_margin="7dip" android:text="r1" android:layout_below="@id/myText" android:gravity="left"> </TextView> </TableRow> <TableRow> <TextView android:id="@+id/left2" android:layout_height="wrap_content" android:textColor="#fff" android:layout_width="wrap_content" android:layout_margin="7dip" android:text="l2" android:layout_below="@id/myText" android:gravity="left"> </TextView> <TextView android:id="@+id/right2" android:layout_height="wrap_content" android:textColor="#fff" android:layout_width="wrap_content" android:layout_margin="7dip" android:text="r2" android:layout_below="@id/myText" android:gravity="left"> </TextView> </TableRow> </TableLayout> after i display that window li and l2 are align to leftbut r1 and r2 ale align to right how i can fix that? regards -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en