Bonjour,

je suis débutant en android et j'ai voulu créer un bouton avec le langage de balisage XML mais malheureusement quand je fais l’exécution le bouton ne s'affiche pas dans mon interface ,merci d'avance pour vos réponses voila mon code:
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
<?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:orientation="vertical">
 <Button
     android:text="@string/BT1"
        android:id="@+id/raz"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
         ></Button>
 
 
</LinearLayout>