88 android : paddingTop =" @dimen/activity_vertical_margin"
99 tools : context =" .MainActivity" >
1010
11- <Button
12- android : id =" @+id/Valider "
11+ <TextView
12+ android : id =" @+id/Question "
1313 android : layout_width =" wrap_content"
1414 android : layout_height =" wrap_content"
15- android : layout_alignParentBottom =" true"
15+ android : layout_alignParentTop =" true"
1616 android : layout_centerHorizontal =" true"
17- android : layout_marginBottom = " 50dp "
18- android : text =" Valider " />
17+ android : layout_marginTop = " 30dp "
18+ android : text =" Question posée " />
1919
20- <CheckBox
21- android : id =" @+id/BonneReponse1 "
20+ <TextView
21+ android : id =" @+id/NombreBonneReponse "
2222 android : layout_width =" wrap_content"
2323 android : layout_height =" wrap_content"
24- android : layout_above =" @+id/MauvaiseImage1"
25- android : layout_alignLeft =" @+id/checkBox2"
26- android : layout_alignRight =" @+id/checkBox2"
27- android : text =" Bonne réponse" />
28-
29- <TextView
30- android : id =" @+id/Question"
31- android : layout_width =" wrap_content"
32- android : layout_height =" wrap_content"
33- android : layout_above =" @+id/NombreBonneReponse"
34- android : layout_centerHorizontal =" true"
35- android : layout_marginBottom =" 17dp"
36- android : text =" Question posée" />
24+ android : layout_below =" @+id/Question"
25+ android : layout_centerHorizontal =" true"
26+ android : layout_marginTop =" 17dp"
27+ android : text =" Nombre de bonnes réponses : 2" />
3728
38- < ImageView
39- android : id =" @+id/MauvaiseImage2 "
40- android : layout_width =" wrap_content"
41- android : layout_height =" wrap_content"
42- android : layout_alignBottom = " @+id/MauvaiseReponse2 "
43- android : layout_marginLeft = " 18dp "
44- android : layout_toRightOf = " @+id/NombreBonneReponse "
45- android : src = " @drawable/ic_launcher " />
29+ < CheckBox
30+ android : id =" @+id/checkBox1 "
31+ android : layout_width =" wrap_content"
32+ android : layout_height =" wrap_content"
33+ android : layout_alignParentLeft = " true "
34+ android : layout_below = " @+id/NombreBonneReponse "
35+ android : layout_marginTop = " 100dp "
36+ android : text = " CheckBox " />
4637
47- <ImageView
48- android : id =" @+id/BonneImage2"
49- android : layout_width =" wrap_content"
50- android : layout_height =" wrap_content"
51- android : layout_alignBottom =" @+id/BonneReponse2"
52- android : layout_alignLeft =" @+id/MauvaiseImage2"
53- android : src =" @drawable/ic_launcher" />
38+ <CheckBox
39+ android : id =" @+id/checkBox2"
40+ android : layout_width =" wrap_content"
41+ android : layout_height =" wrap_content"
42+ android : layout_alignLeft =" @+id/checkBox1"
43+ android : layout_below =" @+id/checkBox1"
44+ android : layout_marginTop =" 14dp"
45+ android : text =" CheckBox" />
5446
55- <ImageView
56- android : id =" @+id/MauvaiseImage1"
57- android : layout_width =" wrap_content"
58- android : layout_height =" wrap_content"
59- android : layout_above =" @+id/BonneImage2"
60- android : layout_alignLeft =" @+id/BonneImage2"
61- android : src =" @drawable/ic_launcher" />
47+ <CheckBox
48+ android : id =" @+id/checkBox3"
49+ android : layout_width =" wrap_content"
50+ android : layout_height =" wrap_content"
51+ android : layout_alignLeft =" @+id/checkBox2"
52+ android : layout_below =" @+id/checkBox2"
53+ android : layout_centerVertical =" true"
54+ android : layout_marginTop =" 14dp"
55+ android : text =" CheckBox" />
6256
63- <ImageView
64- android : id =" @+id/BonneImage1"
65- android : layout_width =" wrap_content"
66- android : layout_height =" wrap_content"
67- android : layout_above =" @+id/MauvaiseImage1"
68- android : layout_alignLeft =" @+id/MauvaiseImage1"
69- android : src =" @drawable/ic_launcher" />
57+ <CheckBox
58+ android : id =" @+id/checkBox4"
59+ android : layout_width =" wrap_content"
60+ android : layout_height =" wrap_content"
61+ android : layout_alignLeft =" @+id/checkBox3"
62+ android : layout_below =" @+id/checkBox3"
63+ android : layout_marginTop =" 14dp"
64+ android : text =" CheckBox" />
7065
71- < CheckBox
72- android : id =" @+id/BonneReponse2 "
73- android : layout_width =" wrap_content"
74- android : layout_height =" wrap_content"
75- android : layout_alignLeft =" @+id/MauvaiseReponse1 "
76- android : layout_centerVertical = " true "
77- android : text = " Bonne réponse " />
66+ < ImageView
67+ android : id =" @+id/ImageView03 "
68+ android : layout_width =" wrap_content"
69+ android : layout_height =" wrap_content"
70+ android : layout_alignLeft =" @+id/ImageView01 "
71+ android : layout_alignTop = " @+id/checkBox4 "
72+ android : src = " @drawable/ic_launcher " />
7873
79- <CheckBox
80- android : id =" @+id/MauvaiseReponse1"
81- android : layout_width =" wrap_content"
82- android : layout_height =" wrap_content"
83- android : layout_alignBottom =" @+id/MauvaiseImage1"
84- android : layout_alignLeft =" @+id/BonneReponse1"
85- android : text =" MauvaiseReponse" />
74+ <CheckedTextView
75+ android : id =" @+id/correction"
76+ android : layout_width =" wrap_content"
77+ android : layout_height =" wrap_content"
78+ android : layout_above =" @+id/Valider"
79+ android : layout_centerHorizontal =" true"
80+ android : layout_marginBottom =" 24dp"
81+ android : text =" Correction" />
8682
87- < CheckBox
88- android : id =" @+id/MauvaiseReponse2 "
89- android : layout_width =" wrap_content"
90- android : layout_height =" wrap_content"
91- android : layout_alignLeft = " @+id/BonneReponse2 "
92- android : layout_below =" @+id/BonneReponse2 "
93- android : layout_marginTop = " 15dp "
94- android : text = " Mauvaise Réponse " />
83+ < ImageView
84+ android : id =" @+id/ImageView02 "
85+ android : layout_width =" wrap_content"
86+ android : layout_height =" wrap_content"
87+ android : layout_alignParentRight = " true "
88+ android : layout_alignTop =" @+id/checkBox3 "
89+ android : layout_marginRight = " 28dp "
90+ android : src = " @drawable/ic_launcher " />
9591
96- <TextView
97- android : id =" @+id/NombreBonneReponse"
98- android : layout_width =" wrap_content"
99- android : layout_height =" wrap_content"
100- android : layout_above =" @+id/BonneImage1"
101- android : layout_centerHorizontal =" true"
102- android : layout_marginBottom =" 26dp"
103- android : text =" Nombre de bonnes réponses : 2" />
92+ <ImageView
93+ android : id =" @+id/ImageView01"
94+ android : layout_width =" wrap_content"
95+ android : layout_height =" wrap_content"
96+ android : layout_alignLeft =" @+id/ImageView02"
97+ android : layout_alignTop =" @+id/checkBox2"
98+ android : src =" @drawable/ic_launcher" />
10499
105- <TextView
106- android : id =" @+id/numeroQuestion"
107- android : layout_width =" wrap_content"
108- android : layout_height =" wrap_content"
109- android : layout_alignParentTop =" true"
110- android : layout_toLeftOf =" @+id/BonneImage1"
111- android : text =" 1" />
100+ <ImageView
101+ android : id =" @+id/imageView1"
102+ android : layout_width =" wrap_content"
103+ android : layout_height =" wrap_content"
104+ android : layout_alignLeft =" @+id/ImageView01"
105+ android : layout_alignTop =" @+id/checkBox1"
106+ android : src =" @drawable/ic_launcher" />
107+
108+ <TextView
109+ android : id =" @+id/numeroQuestion"
110+ android : layout_width =" wrap_content"
111+ android : layout_height =" wrap_content"
112+ android : layout_alignParentRight =" true"
113+ android : layout_alignParentTop =" true"
114+ android : text =" 1" />
112115
116+ <Button
117+ android : id =" @+id/Valider"
118+ android : layout_width =" wrap_content"
119+ android : layout_height =" wrap_content"
120+ android : layout_alignParentBottom =" true"
121+ android : layout_alignParentRight =" true"
122+ android : text =" Valider" />
123+
113124</RelativeLayout >
0 commit comments