У меня есть TextView внутри TableRow. Есть ли способ установить ширину FILL_PARENT для этого TextView?Установите ширину FILL_PARENT в TextView, внутри которой находится TableRow
Отредактировано: Doesnt FILL, когда у меня есть BackgroundImage к TableRow
<TableLayout android:id="@+id/tableLayout1"
android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<TableRow android:layout_height="wrap_content" android:id="@+id/tableRow1"
android:layout_width="fill_parent" android:background="@drawable/myImage">
<TextView android:text="I wrapped!" android:id="@+id/textView1"
android:layout_width="fill_parent" android:background="@color/white"
android:layout_height="wrap_content"></TextView>
</TableRow>
Вы правы, я понял, как это происходит, см. Мое редактирование. – coffee
@ coffee: О, я понимаю, что вы сейчас говорите. Спасибо за редактирование. – Genzume
Я просто заменяю все свои TableRows на LinearLayout. Работает отлично – coffee