我有以下的Android的TableRow RelativeLayout的問題
<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">
我動態填充表,但相對佈局有色銀它只跨越錶行的約3/4。如果我把一個LinearLayout與水平方向完全跨越,但如果我改變它垂直同樣的問題發生。我需要在表格行中的相對佈局,因爲我需要這樣的東西:
值
詳細信息更多詳細信息。
關於獲取相對佈局跨錶行的任何想法?
我不想爲行着色。我使用它作爲調試機制來確定爲什麼我的相對佈局不會跨越整個行。 – phogel 2010-01-22 18:44:56