Michele
- Forum-Beiträge: 1.525
11.04.2013, 08:21:55 via Website
11.04.2013 08:21:55 via Website
Hallo alle zusammen.
Habe nun eine ViewFlipper in meiner Widget.
Funktioniert auch alles Supi.
Nur das problem ist bei manchen Handys wird es erst garnicht angezeigt und kommt "Problem loading Widget"
Bei einigen Handys kann ich soviel wie ich will an ImageViews einbauen für den ViewFlippern
und bei einige hört es bei 6 auf. Sonst fehler. Außer das komische ist wenn ich bei 6 weiter
mache und dann die gleichen nehme die ich hatte zum anfang..Also b1,b2 usw
dann geht es.
LG
Habe nun eine ViewFlipper in meiner Widget.
Funktioniert auch alles Supi.
Nur das problem ist bei manchen Handys wird es erst garnicht angezeigt und kommt "Problem loading Widget"
1<ViewFlipper xmlns:android="http://schemas.android.com/apk/res/android"
2 xmlns:tools="http://schemas.android.com/tools"
3 android:layout_width="wrap_content"
4 android:layout_height="wrap_content"
5 android:animateFirstView="true"
6 android:autoStart="true"
7 android:flipInterval="1000" >
8
9 <ImageView
10 android:layout_width="wrap_content"
11 android:layout_height="wrap_content"
12 android:adjustViewBounds="true"
13 android:src="@drawable/b1" />
14
15 <ImageView
16 android:layout_width="wrap_content"
17 android:layout_height="wrap_content"
18 android:adjustViewBounds="true"
19 android:src="@drawable/b2" />
20
21 <ImageView
22 android:layout_width="wrap_content"
23 android:layout_height="wrap_content"
24 android:adjustViewBounds="true"
25 android:src="@drawable/b3" />
26
27 <ImageView
28 android:layout_width="wrap_content"
29 android:layout_height="wrap_content"
30 android:adjustViewBounds="true"
31 android:src="@drawable/b4" />
32
33 <ImageView
34 android:layout_width="wrap_content"
35 android:layout_height="wrap_content"
36 android:adjustViewBounds="true"
37 android:src="@drawable/b5" />
38
39 <ImageView
40 android:layout_width="wrap_content"
41 android:layout_height="wrap_content"
42 android:adjustViewBounds="true"
43 android:src="@drawable/b6" />
44
45 <ImageView
46 android:layout_width="wrap_content"
47 android:layout_height="wrap_content"
48 android:adjustViewBounds="true"
49 android:src="@drawable/b7" />
50
51 <ImageView
52 android:layout_width="wrap_content"
53 android:layout_height="wrap_content"
54 android:adjustViewBounds="true"
55 android:src="@drawable/b8" />
56
57 <ImageView
58 android:layout_width="wrap_content"
59 android:layout_height="wrap_content"
60 android:adjustViewBounds="true"
61 android:src="@drawable/b9" />
62
63 <ImageView
64 android:layout_width="wrap_content"
65 android:layout_height="wrap_content"
66 android:adjustViewBounds="true"
67 android:src="@drawable/b10" />
68
69</ViewFlipper>
2 xmlns:tools="http://schemas.android.com/tools"
3 android:layout_width="wrap_content"
4 android:layout_height="wrap_content"
5 android:animateFirstView="true"
6 android:autoStart="true"
7 android:flipInterval="1000" >
8
9 <ImageView
10 android:layout_width="wrap_content"
11 android:layout_height="wrap_content"
12 android:adjustViewBounds="true"
13 android:src="@drawable/b1" />
14
15 <ImageView
16 android:layout_width="wrap_content"
17 android:layout_height="wrap_content"
18 android:adjustViewBounds="true"
19 android:src="@drawable/b2" />
20
21 <ImageView
22 android:layout_width="wrap_content"
23 android:layout_height="wrap_content"
24 android:adjustViewBounds="true"
25 android:src="@drawable/b3" />
26
27 <ImageView
28 android:layout_width="wrap_content"
29 android:layout_height="wrap_content"
30 android:adjustViewBounds="true"
31 android:src="@drawable/b4" />
32
33 <ImageView
34 android:layout_width="wrap_content"
35 android:layout_height="wrap_content"
36 android:adjustViewBounds="true"
37 android:src="@drawable/b5" />
38
39 <ImageView
40 android:layout_width="wrap_content"
41 android:layout_height="wrap_content"
42 android:adjustViewBounds="true"
43 android:src="@drawable/b6" />
44
45 <ImageView
46 android:layout_width="wrap_content"
47 android:layout_height="wrap_content"
48 android:adjustViewBounds="true"
49 android:src="@drawable/b7" />
50
51 <ImageView
52 android:layout_width="wrap_content"
53 android:layout_height="wrap_content"
54 android:adjustViewBounds="true"
55 android:src="@drawable/b8" />
56
57 <ImageView
58 android:layout_width="wrap_content"
59 android:layout_height="wrap_content"
60 android:adjustViewBounds="true"
61 android:src="@drawable/b9" />
62
63 <ImageView
64 android:layout_width="wrap_content"
65 android:layout_height="wrap_content"
66 android:adjustViewBounds="true"
67 android:src="@drawable/b10" />
68
69</ViewFlipper>
Bei einigen Handys kann ich soviel wie ich will an ImageViews einbauen für den ViewFlippern
und bei einige hört es bei 6 auf. Sonst fehler. Außer das komische ist wenn ich bei 6 weiter
mache und dann die gleichen nehme die ich hatte zum anfang..Also b1,b2 usw
dann geht es.
LG
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.