yimson Posted June 23, 2011 Share Posted June 23, 2011 Bonjour la communauté. Je suis entrain de réaliser le projet HELLOWORLD de ANDROID J'ai des erreurs dans ce fichier main.xml lorsque je fais le build project <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" > <TextView android:id="@+id/TextViewPrenom" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/prenom" /> <LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content"> <EditText android:id="@+id/EditTextPrenom" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1" android:layout_gravity="bottom" android:hint="@string/prenomHint" /> <Button android:id="@+id/ButtonEnvoyer" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/bouton" /> </LinearLayout> <TextView android:id="@+id/TextViewHello" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_gravity="center_horizontal" android:textSize="@dimen/dimMessage" android:textColor="@color/couleurMessage" /> </LinearLayout> Les erreurs s'affichent au niveau du 1er TextView et au niveau du EditText Merci pour votre aide. Link to comment Share on other sites More sharing options...
jokamax Posted June 27, 2011 Share Posted June 27, 2011 Quelle est l'erreur en question (au survol de la croix rouge) ? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.