Hi, I have three table rows. The first two contains text and an edit box. The third contains text, an edit box and a check box.
The rows are set up like this <TableRow android:id="@+id/tempRow" android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="horizontal" > <TextView android:id="@+id/tempFoundLabel" android:layout_width="100px" android:layout_height="wrap_content" android:text="Temp of body (degrees C) when found"/> <EditText android:id="@+id/bodyTemp" android:layout_width="50px" android:layout_height="32px" android:text="" android:numeric="decimal" android:textSize="14sp"/> </TableRow> <TableRow android:id="@+id/surroundRow" android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="horizontal" > <TextView android:id="@+id/surroundTempLabel" android:layout_width="100px" android:layout_height="wrap_content" android:text="Temp of surrounds (degrees C)"/> <EditText android:id="@+id/surroundTemp" android:layout_width="50px" android:layout_height="32px" android:text="" android:numeric="decimal" android:textSize="14sp"/> </TableRow> <TableRow android:id="@+id/weightRow" android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="horizontal" > <TextView android:id="@+id/weightBodyLabel" android:layout_width="100px" android:layout_height="wrap_content" android:text="Weight of body"/> <EditText android:id="@+id/weightBox" android:layout_width="50px" android:layout_height="32px" android:text="" android:numeric="decimal" android:textSize="14sp"/> <CheckBox android:id="@+id/inKG" android:layout_width="50px" android:layout_height="wrap_content" android:layout_gravity="left" android:text="in kg?"/> </TableRow> There are two problems I'm having. The two with the text and edit box doesn't seem to be doing what they're told (the layout_width="100px" is being ignored) and on the third row, the checkbox is just not on screen at all. Can anyone suggest what it is that I'm doing wrong? Do I need to set the table to have 3 columns and define everything in a particular column? Thanks Paul _______________________________________________ Monodroid mailing list [email protected] UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid
