Я использую следующий код для создания макета таблицы, содержащего текстовый вид и счетчик.Невозможно сделать два вида, чтобы занять экран одинаково
<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:stretchColumns="1">
<TableRow>
<TextView
android:id="@+id/lblListHeader"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="20dp"
android:layout_marginLeft="20dp"
android:layout_weight="1"
android:layout_marginRight="20dp"
android:layout_marginTop="20dp"
android:text="Form"
android:singleLine="true"
android:textColor="#000" />
<Spinner
android:id="@+id/spinner1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:background="@android:drawable/btn_dropdown"
android:spinnerMode="dropdown"
android:entries="@array/action"/>
</TableRow>
</TableLayout>
Проблема в том, что ширина как текстового вида, так и счетчика не равна. Размер прядильника становится маленьким, когда размер текстового вида большой. Как я могу решить эту проблему?