summaryrefslogtreecommitdiffstats
path: root/src/android/app/src/main/res/layout/list_item_cheat.xml
diff options
context:
space:
mode:
Diffstat (limited to 'src/android/app/src/main/res/layout/list_item_cheat.xml')
-rw-r--r--src/android/app/src/main/res/layout/list_item_cheat.xml38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/android/app/src/main/res/layout/list_item_cheat.xml b/src/android/app/src/main/res/layout/list_item_cheat.xml
new file mode 100644
index 000000000..c0b5f982f
--- /dev/null
+++ b/src/android/app/src/main/res/layout/list_item_cheat.xml
@@ -0,0 +1,38 @@
+<?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:id="@+id/root"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:focusable="true"
+ android:nextFocusRight="@id/checkbox">
+
+ <TextView
+ android:id="@+id/text_name"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:textColor="@color/header_text"
+ android:textSize="16sp"
+ android:layout_margin="@dimen/spacing_large"
+ style="@style/TextAppearance.AppCompat.Headline"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintEnd_toStartOf="@id/checkbox"
+ app:layout_constraintTop_toTopOf="parent"
+ app:layout_constraintBottom_toBottomOf="parent"
+ tools:text="Max Lives after losing 1" />
+
+ <CheckBox
+ android:id="@+id/checkbox"
+ android:layout_width="48dp"
+ android:layout_height="64dp"
+ android:focusable="true"
+ android:gravity="center"
+ android:nextFocusLeft="@id/root"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toEndOf="@id/text_name"
+ app:layout_constraintTop_toTopOf="parent" />
+
+</androidx.constraintlayout.widget.ConstraintLayout>