From 3ff1e3b69945b64bebb3c1fe5c67b98690110a01 Mon Sep 17 00:00:00 2001 From: SofianeLasri <alasri250@gmail.com> Date: Tue, 4 Oct 2022 16:41:19 +0200 Subject: [PATCH] Questions... --- app/src/main/res/layout/activity_main.xml | 98 +++++++++++++++++++++++ 1 file changed, 98 insertions(+) diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 30b3c7c..46f7ce9 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -48,6 +48,104 @@ app:layout_constraintStart_toStartOf="parent" app:layout_constraintEnd_toEndOf="parent"> + <ScrollView + android:id="@+id/scrollView" + android:layout_width="0dp" + android:layout_height="0dp" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent" + app:layout_constraintBottom_toTopOf="@+id/navbar"> + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="vertical" > + + <TextView + android:id="@+id/textView2" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="Au cours de quel évènement historique fut créé le panini?" /> + + <RadioGroup + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <RadioButton + android:id="@+id/radioButton" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="En 1618, pendant la guerre des croissans au beurre" /> + + <RadioButton + android:id="@+id/radioButton2" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="En 1702, pendant le massacre du Saint Panini" /> + + <RadioButton + android:id="@+id/radioButton3" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="En 112 avant Célion Dion, pendant la prise de la brioche" /> + + <RadioButton + android:id="@+id/radioButton4" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="La réponse D" /> + </RadioGroup> + + <TextView + android:id="@+id/textView3" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="Lorsqu'un pancake prend l'avio à destination de Toronto et qu'il fait une escale technique à St Claude, on dit:" /> + + <RadioGroup + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <RadioButton + android:id="@+id/radioButton5" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="Un cheval" /> + </RadioGroup> + + <TextView + android:id="@+id/textView4" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="Êtes vous..." /> + + <RadioGroup + android:layout_width="match_parent" + android:layout_height="match_parent" > + + </RadioGroup> + + </LinearLayout> + </ScrollView> + + <LinearLayout + android:id="@+id/navbar" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:orientation="horizontal" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@+id/scrollView"> + + <Button + android:id="@+id/button2" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_weight="1" + android:text="Entrer" /> + </LinearLayout> </androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout> \ No newline at end of file -- GitLab