88 lines
3.4 KiB
XML
88 lines
3.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:id="@+id/ll_content"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:padding="24dp"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:orientation="horizontal">
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
android:layout_width="0dp"
|
|
android:layout_weight="1"
|
|
android:layout_marginEnd="16dp"
|
|
android:layout_height="wrap_content"
|
|
style="@style/Widget.Material3.TextInputLayout.FilledBox.Dense">
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:inputType="date"
|
|
android:ems="10"
|
|
android:id="@+id/start_date"
|
|
android:hint="@string/start_from"
|
|
android:layout_weight="1"
|
|
android:clickable="true"
|
|
android:textSize="16sp" />
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
<com.google.android.material.materialswitch.MaterialSwitch
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:id="@+id/sr_enabled" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:baselineAligned="false"
|
|
android:orientation="horizontal"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="24dp"
|
|
android:gravity="start">
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:layout_marginEnd="32dp"
|
|
style="@style/Widget.Material3.TextInputLayout.FilledBox.Dense">
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:id="@+id/edit_start"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:hint="@string/start_chapter"
|
|
android:importantForAutofill="no"
|
|
android:inputType="number"
|
|
android:lines="1"
|
|
android:maxLength="5" />
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
style="@style/Widget.Material3.TextInputLayout.FilledBox.Dense">
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:id="@+id/edit_num"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:hint="@string/daily_chapters"
|
|
android:importantForAutofill="no"
|
|
android:inputType="number"
|
|
android:lines="1"
|
|
android:maxLength="5" />
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|