59 lines
2.1 KiB
XML
59 lines
2.1 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||
|
xmlns:tools="http://schemas.android.com/tools"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent">
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:gravity="center"
|
||
|
android:orientation="vertical"
|
||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||
|
app:layout_constraintTop_toTopOf="parent">
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/text_trivia_question"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginStart="8dp"
|
||
|
android:layout_marginEnd="8dp"
|
||
|
android:layout_marginBottom="16dp"
|
||
|
android:textAlignment="center"
|
||
|
android:textSize="16sp"
|
||
|
android:textStyle="bold"
|
||
|
tools:text="What is the answer to this question?" />
|
||
|
|
||
|
<Button
|
||
|
android:id="@+id/button_answer_one"
|
||
|
style="@style/AnswerButton"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
tools:text="Question 1" />
|
||
|
|
||
|
<Button
|
||
|
android:id="@+id/button_answer_two"
|
||
|
style="@style/AnswerButton"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
tools:text="Question 2" />
|
||
|
|
||
|
<Button
|
||
|
android:id="@+id/button_answer_three"
|
||
|
style="@style/AnswerButton"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
tools:text="Question 3" />
|
||
|
|
||
|
<Button
|
||
|
android:id="@+id/button_answer_four"
|
||
|
style="@style/AnswerButton"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
tools:text="Question 4" />
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|