mirror of
https://github.com/cmclark00/TetriStats.git
synced 2025-05-20 16:15:20 +01:00
110 lines
4.1 KiB
XML
110 lines
4.1 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<LinearLayout 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"
|
||
|
android:padding="16dp"
|
||
|
android:background="@color/background">
|
||
|
|
||
|
<com.google.android.material.textfield.TextInputLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginBottom="16dp"
|
||
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu">
|
||
|
|
||
|
<AutoCompleteTextView
|
||
|
android:id="@+id/autoCompleteGameFilter"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:hint="Filter by Game"
|
||
|
android:inputType="none"/>
|
||
|
</com.google.android.material.textfield.TextInputLayout>
|
||
|
|
||
|
<androidx.recyclerview.widget.RecyclerView
|
||
|
android:id="@+id/recyclerViewScores"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="0dp"
|
||
|
android:layout_weight="1"/>
|
||
|
|
||
|
<com.google.android.material.textfield.TextInputLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:hint="Game Version">
|
||
|
|
||
|
<com.google.android.material.textfield.TextInputEditText
|
||
|
android:id="@+id/editTextGameVersion"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:inputType="text" />
|
||
|
</com.google.android.material.textfield.TextInputLayout>
|
||
|
|
||
|
<com.google.android.material.button.MaterialButton
|
||
|
android:id="@+id/buttonUpdateStats"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginTop="8dp"
|
||
|
android:text="Update Stats" />
|
||
|
|
||
|
<com.google.android.material.card.MaterialCardView
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginTop="16dp"
|
||
|
app:cardCornerRadius="8dp"
|
||
|
app:cardElevation="4dp">
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:orientation="vertical"
|
||
|
android:padding="16dp">
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="Average Score"
|
||
|
android:textAppearance="?attr/textAppearanceSubtitle1" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/textViewAverageScore"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginTop="4dp"
|
||
|
android:textAppearance="?attr/textAppearanceHeadline4"
|
||
|
tools:text="1000" />
|
||
|
</LinearLayout>
|
||
|
|
||
|
</com.google.android.material.card.MaterialCardView>
|
||
|
|
||
|
<com.google.android.material.card.MaterialCardView
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginTop="16dp"
|
||
|
app:cardCornerRadius="8dp"
|
||
|
app:cardElevation="4dp">
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:orientation="vertical"
|
||
|
android:padding="16dp">
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="High Score"
|
||
|
android:textAppearance="?attr/textAppearanceSubtitle1" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/textViewHighScore"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginTop="4dp"
|
||
|
android:textAppearance="?attr/textAppearanceHeadline4"
|
||
|
tools:text="2000" />
|
||
|
</LinearLayout>
|
||
|
|
||
|
</com.google.android.material.card.MaterialCardView>
|
||
|
|
||
|
</LinearLayout>
|