fragment_question.xml 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2. xmlns:app="http://schemas.android.com/apk/res-auto"
  3. xmlns:tools="http://schemas.android.com/tools"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. tools:context="app.mar.activities.QuestionFragment">
  7. <LinearLayout
  8. android:layout_width="match_parent"
  9. android:layout_height="match_parent"
  10. android:orientation="vertical">
  11. <FrameLayout
  12. android:layout_width="match_parent"
  13. android:layout_height="wrap_content"
  14. android:layout_weight="1">
  15. <ImageView
  16. android:id="@+id/iv_img"
  17. android:layout_width="wrap_content"
  18. android:layout_height="wrap_content"
  19. android:src="@drawable/bscanner_tap" />
  20. </FrameLayout>
  21. <FrameLayout
  22. android:layout_width="match_parent"
  23. android:layout_height="match_parent"
  24. android:layout_weight="1">
  25. <LinearLayout
  26. android:layout_width="match_parent"
  27. android:layout_height="wrap_content"
  28. android:orientation="vertical">
  29. <TextView
  30. android:id="@+id/tv_question"
  31. android:layout_width="match_parent"
  32. android:layout_height="wrap_content"
  33. android:editable="false"
  34. android:text="Qui a tué le cheval blanc d'Henri IV ?"
  35. android:textSize="18sp" />
  36. <LinearLayout
  37. android:id="@+id/ll_rootIndices"
  38. android:layout_width="match_parent"
  39. android:layout_height="match_parent"
  40. android:orientation="vertical">
  41. <LinearLayout
  42. android:id="@+id/ll_textIndices"
  43. android:layout_width="match_parent"
  44. android:layout_height="wrap_content"
  45. android:orientation="vertical"></LinearLayout>
  46. </LinearLayout>
  47. </LinearLayout>
  48. </FrameLayout>
  49. <EditText
  50. android:id="@+id/et_response"
  51. android:layout_width="match_parent"
  52. android:layout_height="wrap_content"
  53. android:layout_weight="0"
  54. android:ems="10"
  55. android:hint="Entrer votre réponse"
  56. android:inputType="textPersonName" />
  57. </LinearLayout>
  58. </FrameLayout>