64 lines
2.7 KiB
XML
64 lines
2.7 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"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:padding="@dimen/twelve">
|
||
|
|
|
||
|
|
<com.google.android.material.textview.MaterialTextView
|
||
|
|
android:id="@+id/todoCount"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="@string/todo_count"
|
||
|
|
android:textSize="@dimen/normalText"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
app:layout_constraintTop_toTopOf="parent" />
|
||
|
|
|
||
|
|
<com.google.android.material.slider.Slider
|
||
|
|
android:id="@+id/showTodos"
|
||
|
|
android:layout_width="@dimen/zero"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:stepSize="1"
|
||
|
|
android:valueFrom="0"
|
||
|
|
android:valueTo="7"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
app:layout_constraintTop_toBottomOf="@+id/todoCount" />
|
||
|
|
|
||
|
|
<com.google.android.material.textview.MaterialTextView
|
||
|
|
android:id="@+id/todoManagerLock"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="@dimen/twelve"
|
||
|
|
android:text="@string/todo_manager_lock"
|
||
|
|
android:textSize="@dimen/normalText"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
app:layout_constraintTop_toBottomOf="@+id/showTodos" />
|
||
|
|
|
||
|
|
<com.google.android.material.chip.ChipGroup
|
||
|
|
android:id="@+id/todoLockGroup"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
app:layout_constraintTop_toBottomOf="@+id/todoManagerLock"
|
||
|
|
app:selectionRequired="true"
|
||
|
|
app:singleSelection="true">
|
||
|
|
|
||
|
|
<com.google.android.material.chip.Chip
|
||
|
|
android:id="@+id/todoLockPositive"
|
||
|
|
style="@style/Widget.Material3.Chip.Filter.Elevated"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="@string/positive" />
|
||
|
|
|
||
|
|
<com.google.android.material.chip.Chip
|
||
|
|
android:id="@+id/todoLockNegative"
|
||
|
|
style="@style/Widget.Material3.Chip.Filter.Elevated"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="@string/negative" />
|
||
|
|
</com.google.android.material.chip.ChipGroup>
|
||
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|