Kai Moller
- Forum-Beiträge: 4
06.06.2013, 15:03:56 via Website
06.06.2013 15:03:56 via Website
Hallo Community,
Ich mache gerade für die Schule ein Projekt und möchte mit Hilfe von einem Table Layout eine Auflistung machen.
Nun werden mir aber 2 Fehler zu diesem Layout angezeigt... Android hat mir zu dem Table Layout da drüber noch ein Grid Layout erstellt
Android zeigt mir 4 Fehlermeldungen an:
1x : Type error: No resource identifier found for attribute 'columnCount' in package 'android'
3x : Type error: No resource identifier found for attribute 'layout_row' in package 'android'
Bitte helft mir :/
Ich mache gerade für die Schule ein Projekt und möchte mit Hilfe von einem Table Layout eine Auflistung machen.
Nun werden mir aber 2 Fehler zu diesem Layout angezeigt... Android hat mir zu dem Table Layout da drüber noch ein Grid Layout erstellt
1<android.widget.GridLayout
2 xmlns:android=" LINK schemas.android /apk/res/android" // Hier habe ich den Link gekürzt weil ichs hier nicht posten kann sonst!
3 android:layout_width="match_parent"
4 android:layout_height="match_parent"
5 android:layout_gravity="center"
6 android:columnCount="2"
7 android:orientation="horizontal" >
8
9 <TableLayout
10 android:layout_width="wrap_content"
11 android:layout_height="wrap_content"
12 android:layout_column="1"
13 android:layout_gravity="left"
14 android:layout_row="1" >
15
16 <TableRow
17 android:id="@+id/tableRow1"
18 android:layout_width="wrap_content"
19 android:layout_height="wrap_content" >
20 </TableRow>
21
22 <TableRow
23 android:id="@+id/tableRow2"
24 android:layout_width="wrap_content"
25 android:layout_height="wrap_content" >
26 </TableRow>
27
28 <TableRow
29 android:id="@+id/tableRow3"
30 android:layout_width="wrap_content"
31 android:layout_height="wrap_content" >
32 </TableRow>
33
34 <TableRow
35 android:id="@+id/tableRow4"
36 android:layout_width="wrap_content"
37 android:layout_height="wrap_content" >
38 </TableRow>
39 </TableLayout>
40
41 <android.widget.Space
42 android:id="@+id/space1"
43 android:layout_width="85dp"
44 android:layout_height="1dp"
45 android:layout_column="0"
46 android:layout_row="0" />
47
48 <android.widget.Space
49 android:id="@+id/space2"
50 android:layout_width="1dp"
51 android:layout_height="164dp"
52 android:layout_column="0"
53 android:layout_row="0" />
54 </android.widget.GridLayout>
2 xmlns:android=" LINK schemas.android /apk/res/android" // Hier habe ich den Link gekürzt weil ichs hier nicht posten kann sonst!
3 android:layout_width="match_parent"
4 android:layout_height="match_parent"
5 android:layout_gravity="center"
6 android:columnCount="2"
7 android:orientation="horizontal" >
8
9 <TableLayout
10 android:layout_width="wrap_content"
11 android:layout_height="wrap_content"
12 android:layout_column="1"
13 android:layout_gravity="left"
14 android:layout_row="1" >
15
16 <TableRow
17 android:id="@+id/tableRow1"
18 android:layout_width="wrap_content"
19 android:layout_height="wrap_content" >
20 </TableRow>
21
22 <TableRow
23 android:id="@+id/tableRow2"
24 android:layout_width="wrap_content"
25 android:layout_height="wrap_content" >
26 </TableRow>
27
28 <TableRow
29 android:id="@+id/tableRow3"
30 android:layout_width="wrap_content"
31 android:layout_height="wrap_content" >
32 </TableRow>
33
34 <TableRow
35 android:id="@+id/tableRow4"
36 android:layout_width="wrap_content"
37 android:layout_height="wrap_content" >
38 </TableRow>
39 </TableLayout>
40
41 <android.widget.Space
42 android:id="@+id/space1"
43 android:layout_width="85dp"
44 android:layout_height="1dp"
45 android:layout_column="0"
46 android:layout_row="0" />
47
48 <android.widget.Space
49 android:id="@+id/space2"
50 android:layout_width="1dp"
51 android:layout_height="164dp"
52 android:layout_column="0"
53 android:layout_row="0" />
54 </android.widget.GridLayout>
Android zeigt mir 4 Fehlermeldungen an:
1x : Type error: No resource identifier found for attribute 'columnCount' in package 'android'
3x : Type error: No resource identifier found for attribute 'layout_row' in package 'android'
Bitte helft mir :/
Empfohlener redaktioneller Inhalt
Mit Deiner Zustimmung wird hier ein externer Inhalt geladen.
Mit Klick auf den oben stehenden Button erklärst Du Dich damit einverstanden, dass Dir externe Inhalte angezeigt werden dürfen. Dabei können personenbezogene Daten an Drittanbieter übermittelt werden. Mehr Infos dazu findest Du in unserer Datenschutzerklärung.