更新时间:2023-01-16 10:42:00
尝试更新 XML 你提出的问题...也许这就是你想要做的.
Try out the update XML what have you given in question...may be this is what you wanted to do.
<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content" >
<TableRow android:id="@+id/myTableRow" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="15dip"
android:text="Short description" />
<TextView
android:id="@+id/textView1"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
android:padding="15dip"
android:text="Large description" />
</TableRow>
</TableLayout>