106 lines
3.2 KiB
XML
106 lines
3.2 KiB
XML
<?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"
|
|
android:orientation="vertical"
|
|
tools:context="io.github.trytonvanmeer.libretrivia.activities.MainActivity">
|
|
|
|
<ScrollView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:fillViewport="true">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="@dimen/margin_default"
|
|
android:padding="@dimen/padding_default"
|
|
android:orientation="vertical"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
<!-- Trivia Source -->
|
|
<TextView
|
|
style="@style/TextLabel"
|
|
android:labelFor="@id/spinner_source"
|
|
android:text="@string/ui_source" />
|
|
|
|
<Spinner
|
|
android:id="@+id/spinner_source"
|
|
style="@style/Spinner" />
|
|
|
|
<!-- Select Amount -->
|
|
<TextView
|
|
style="@style/TextLabel"
|
|
android:labelFor="@id/spinner_number"
|
|
android:text="@string/ui_amount" />
|
|
|
|
<Spinner
|
|
android:id="@+id/spinner_number"
|
|
style="@style/Spinner" />
|
|
|
|
<!-- Select Category Spinner -->
|
|
<TextView
|
|
style="@style/TextLabel"
|
|
android:labelFor="@id/spinner_category"
|
|
android:text="@string/ui_category" />
|
|
|
|
<Spinner
|
|
android:id="@+id/spinner_category"
|
|
style="@style/Spinner" />
|
|
|
|
<!-- Select Difficulty Spinner -->
|
|
<TextView
|
|
style="@style/TextLabel"
|
|
android:labelFor="@id/spinner_difficulty"
|
|
android:text="@string/ui_difficulty" />
|
|
|
|
<Spinner
|
|
android:id="@+id/spinner_difficulty"
|
|
style="@style/Spinner" />
|
|
|
|
<!-- Play Button -->
|
|
<Button
|
|
android:id="@+id/button_play"
|
|
style="@style/Button"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
android:text="@string/ui_start_game"
|
|
android:textSize="24sp" />
|
|
|
|
<TextView
|
|
android:text="@string/ui_network_notice"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
|
|
</LinearLayout>
|
|
</ScrollView>
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|