I have the following
<TableRow xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/admin_row" android:layout_width="fill_parent" android:layout_height="wrap_content" android:gravity="center_horizontal"> <RelativeLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="horizontal" android:background="@color/silver">
I dynamically populate the table, but with the relative arrangement of colored silver, it covers only 3/4 of the table row. If I put the LinearLayout in horizontal orientation, it will be fully deployed, but if I change it to vertical, the same problem will occur. I need a relative layout in the table row, because I need something like this:
Value
Read more Read more.
Any ideas on how the relative layout will span the table row?
android relativelayout tablelayout tablerow
phogel
source share