我试图在aTableRow中生成aTableLayout,因此:

                _____________________________________
               |  ___________________   ____________ |
               | |TEXTVIEW 1         | |TEXTVIEW 2 | |
               | |                   | |___________| |
               | |                   |  ___________  |
               | |                   | |TEXTVIEW 3 | |
               | |___________________| |___________| |
               |_____________________________________|

希望这是有意义的。我试着把3TextViews放进1TableRow中。第一列将包含多行且宽的TextView,而第二列将包含两行短的TextViews,这两行将堆叠在一起。
这有可能吗?如果没有,我该怎么做呢?下面是我已经开始的XML代码。
<TableLayout
    xmlns:tools="http://schemas.android.com/tools"
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_height="fill_parent"
    android:layout_width="fill_parent" >

    <TableRow
        android:id="@+id/row1"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content" >

        <TextView
            android:id="@+id/question"
            android:layout_height="wrap_content"
            android:layout_width="wrap_content"
            android:textStyle="bold"
            android:textSize="8sp" />

        <TextView
            android:id="@+id/timer"
            android:layout_height="wrap_content"
            android:layout_width="wrap_content"
            android:textStyle="bold"
            android:textSize="8sp" />

        <TextView
            android:id="@+id/points"
            android:layout_height="wrap_content"
            android:layout_width="wrap_content"
            android:textStyle="bold"
            android:textSize="8sp" />
    </TableRow>
</TableLayout>

最佳答案

<TableLayout>
 <TableRow>
  Multiline Text
  <TableLayout>
   <TableRow>
    Text
   </TableRow>
   <TableRow>
    Text
  </TableRow>
  </TableLayout>
 </TableRow>
</TableLayout>

07-25 20:36