Bonjour,
Je n’ai pas trouvé de réponse à ma question sur le net. Je suis en stage et je travaille sur une application de gestion des fichiers en ligne
Le problème j'ai l'ancien affichage de EditText c'est à dire comme sur ce site http://www.codeofaninja.com/2012/01/...t-example.html et moi je veux le nouveau affichage comme celui qui apparaît dans l’exemple dans Relative Layout: http://developer.android.com/guide/t...ut/linear.html
Je ne vois vraiment pas comment faire.
Merci d'avance pour vos réponses.
J'ai un simple code comme suit par exemple, mais j'ai l'ancien affichage de EditText.
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 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:paddingLeft="16dp" android:paddingRight="16dp" android:orientation="vertical" > <EditText android:layout_width="fill_parent" android:layout_height="wrap_content" android:hint="zzz" /> <EditText android:layout_width="fill_parent" android:layout_height="wrap_content" android:hint="zzzz" /> <EditText android:layout_width="fill_parent" android:layout_height="0dp" android:layout_weight="1" android:gravity="top" android:hint="zzz" /> <Button android:layout_width="100dp" android:layout_height="wrap_content" android:layout_gravity="right" android:text="zzz" /> </LinearLayout>
Partager