Je débute dans le développement JAVA et sur SDK android.
Ma question: Pourquoi mon EditText ne s'affiche-t-il pas ?
Mon fichier xml:
Merci de m'éclairer
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 <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent"> <ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/imageView1" android:layout_alignParentTop="true" android:layout_alignParentLeft="true" android:src="@drawable/logo ORANGE"> </ImageView> <Button android:layout_height="wrap_content" android:text="@string/Button Text" android:id="@+id/button1" android:layout_width="50px" android:layout_alignParentTop="true" android:layout_alignParentRight="true"> > </Button> <EditText android:layout_toRightOf="@id/imageView1" android:layout_toLeftOf="@id/button1" android:text="EditText" android:id="@+id/editText1" android:layout_alignParentTop="true" > </EditText> </RelativeLayout>![]()
Partager