Hallo zusammen,
und zwar habe ich ein mehr oder weniger banales Layout Problem, das ich einfach nicht gelöst bekomme.
Das Layout soll wie auf dem Bild im Anhang aussehen:
Ein Bild links und rechts daneben parallel TextViews, die etwas untereinander auflisten.
Ich dachte ich könnte das ganze mit einem TableLayout lösen, allerdings hat das nicht funktioniert:
[XML]<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android
rientation="vertical" >
<TableLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:stretchColumns="0,1" >
<TableRow>
<ImageView
... />
</TableRow>
<TableRow>
<TextView
... />
<TextView
... />
</TableRow>
<TableRow>
<TextView
... />
<TextView
... />
</TableRow>
<TableRow>
<TextView
... />
<TextView
... />
</TableRow>
</TableLayout>
</LinearLayout>
[/XML]
Danke schon im Voraus
und zwar habe ich ein mehr oder weniger banales Layout Problem, das ich einfach nicht gelöst bekomme.
Das Layout soll wie auf dem Bild im Anhang aussehen:
Ein Bild links und rechts daneben parallel TextViews, die etwas untereinander auflisten.
Ich dachte ich könnte das ganze mit einem TableLayout lösen, allerdings hat das nicht funktioniert:
[XML]<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android
<TableLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:stretchColumns="0,1" >
<TableRow>
<ImageView
... />
</TableRow>
<TableRow>
<TextView
... />
<TextView
... />
</TableRow>
<TableRow>
<TextView
... />
<TextView
... />
</TableRow>
<TableRow>
<TextView
... />
<TextView
... />
</TableRow>
</TableLayout>
</LinearLayout>
[/XML]
Danke schon im Voraus
Anhänge
Zuletzt bearbeitet: