Pluck/app/src/main/res/layout/fragment_trivia_question_mu...

82 lines
3.0 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<!--
Pluck: an open source trivia game for Android
Copyright (C) 2021 Joguitos do luca0N!
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation, either version 3 of the License, or (at your option) any later
version.
This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with
this program. If not, see <https://www.gnu.org/licenses/>.
This game is a fork of LibreTrivia, and its source code is available at
<https://github.com/tryton-vanmeer/LibreTrivia>.
Contact us at <joguitos+pluck@luca0n.com>.
-->
<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>