Chaoz
Fortgeschrittenes Mitglied
- 13
kurzum....
Meine textview die in einer Tablerow liegt, welche teil eines tablelayouts ist (toller satz xD ) hat trotz des fill_parent nicht die maximale breite....
mein jetztiger workarround mit minWidth ist keineswegs ne lösung, darum brauch ich mal eure hilfe ^^
Ansonsten scheint es so, dass die Table und die TableRow sich maximal ausbreiten würden, nur der editText nicht.
Gruß
chaoz
Meine textview die in einer Tablerow liegt, welche teil eines tablelayouts ist (toller satz xD ) hat trotz des fill_parent nicht die maximale breite....
mein jetztiger workarround mit minWidth ist keineswegs ne lösung, darum brauch ich mal eure hilfe ^^
Ansonsten scheint es so, dass die Table und die TableRow sich maximal ausbreiten würden, nur der editText nicht.
Code:
<?xml version="1.0" encoding="utf-8"?>
<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="wrap_content" android:id="@+id/DialogTable" android:layout_width="[B]fill_parent[/B]">
<TableRow android:id="@+id/NameRow" android:layout_width="fill_parent" android:layout_height="[B]fill_parent[/B]">
<TextView android:id="@+id/NameLabel" android:text="@string/Region"
android:layout_width="wrap_content" android:layout_height="wrap_content" android:padding="10px"/>
<EditText android:id="@+id/NameText" android:maxLength="50"
android:layout_width="[B]fill_parent[/B]" android:minWidth="200px"/>
</TableRow>
</TableLayout>
Gruß
chaoz