| |||||||
Das Thema "TableLayout: 3 Spalten, 3 Zeilen" befindet sich unter Android App Entwicklung auf Android-Hilfe.de.
|
| | Themen-Optionen | Ansicht |
| | #1 (permalink) |
| Fortgeschrittenes Mitglied Modell: Samsung Galaxy S2 (I9100) Registriert seit: 15.11.2009
Beiträge: 315
Abgegebene Danke: 29
Erhielt 10 Danke für 7 Beiträge
| Aussehen soll die Tabelle so: Code: Datum Kontoname Preis Kategorie Beschreibung Code: <?xml version="1.0" encoding="utf-8"?> <TableLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="wrap_content" android:stretchColumns="1"> <TableRow android:layout_width="fill_parent" android:layout_height="wrap_content" > <TextView android:id="@+id/lbl_buchungenList_datum" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="xx.xx.xxxx" android:textSize="15dip" /> <TextView android:id="@+id/lbl_buchungenList_kontoName" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Kontoname" android:layout_column="1" android:layout_marginLeft="5dip" android:textSize="15dip" /> <TextView android:id="@+id/lbl_buchungenList_wert" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="right" android:text="0.00 €" android:textSize="15dip" /> </TableRow> <TableRow android:layout_width="fill_parent" android:layout_height="wrap_content" > <TextView android:id="@+id/lbl_buchungenList_kategorie" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Kategorie-SubKategorie" android:layout_column="1" android:layout_marginLeft="5dip" android:textSize="15dip" /> </TableRow> <TableRow > <TextView android:id="@+id/lbl_buchungenList_beschreibung" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Beschreibung" android:layout_column="1" android:layout_marginLeft="5dip" android:textSize="15dip" /> </TableRow> </TableLayout> |
| | |
| | #2 (permalink) |
| Android Guru Registriert seit: 09.05.2009
Beiträge: 2.389
Abgegebene Danke: 36
Erhielt 307 Danke für 289 Beiträge
|
versuch mal noch android:shrinkColumns="*" beim tablelayout
__________________ App Entwicklung Latest apps: Media Streamer BETA | DailyCash | MoneyManager ( PRO | HD ) |
| | |
| | #3 (permalink) |
| Fortgeschrittenes Mitglied Modell: Samsung Galaxy S2 (I9100) Registriert seit: 15.11.2009
Beiträge: 315
Abgegebene Danke: 29
Erhielt 10 Danke für 7 Beiträge
|
Hallo, android:shrinkColumns="*" klappt leider nicht, aber nach rumprobieren funktioniert android:shrinkColumns="1", also Danke!
|
| | |
![]() |
|
| Themen-Optionen | |
| Ansicht | |
| |
| ||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| ListView mit zwei Spalten | MBPower | Android App Entwicklung | 6 | 01.11.2011 03:37 |
| TableLayout Spalten formatieren | Jan_HH | Android App Entwicklung | 4 | 05.09.2011 14:59 |
| Tabelle mit dynamischen Spalten | TanaH | Android App Entwicklung | 2 | 29.04.2011 09:48 |
| Select order by mit 2 spalten | MetBo | Android App Entwicklung | 2 | 06.01.2011 17:08 |
| TableLayout - Alle Steuerelemente in Zeilen gleichbreit | Riva | Android App Entwicklung | 2 | 13.12.2010 17:19 |