bonjour;
j'ai un fichier de 1.23 Mo a mettre dans un textview qui met plus de 5 minutes a s'afficher.voici mon XML:
avez vous une idée pour réduire le temps d'affichage
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40 t="Recherche" android:ems="10" android:id="@+id/editText" /> <CheckBox android:text="Mot entier" android:layout_width="75dp" android:layout_height="wrap_content" android:id="@+id/cb" android:checked="false" /> <Button android:text="Executer" android:background="@drawable/buttoncolor" android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/button" /> </LinearLayout> <ScrollView android:layout_width="match_parent" android:layout_height="match_parent"> <LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" > <TextView android:text="Attendez la fin du chargement" android:layout_width="match_parent" android:layout_height="wrap_content" android:textColor="#000000" android:layout_gravity="fill_vertical" android:id="@+id/textView2" /> </LinearLayout> </ScrollView> </LinearLayout>
Partager