2022-02-01 23:38:08 +03:00
|
|
|
<?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:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:padding="32dp"
|
|
|
|
tools:context=".MainActivity">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/description"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/description"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
2022-02-07 13:35:33 +03:00
|
|
|
<ScrollView
|
|
|
|
android:id="@+id/scrollView"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
2022-02-14 04:45:37 +03:00
|
|
|
android:padding="16dp"
|
2022-02-07 13:35:33 +03:00
|
|
|
android:layout_marginVertical="16dp"
|
|
|
|
app:layout_constraintBottom_toTopOf="@+id/toggle"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/description">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<com.google.android.material.slider.Slider
|
|
|
|
android:id="@+id/redirectionDelay"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:contentDescription="@string/redirection_delay_description"
|
|
|
|
android:stepSize="0.5"
|
|
|
|
android:valueFrom="2"
|
|
|
|
android:valueTo="4" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/description2"
|
2022-02-14 04:45:37 +03:00
|
|
|
android:textSize="12sp"
|
2022-02-07 13:35:33 +03:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/redirection_delay_description" />
|
|
|
|
|
2022-02-14 04:22:31 +03:00
|
|
|
<Space
|
|
|
|
android:layout_marginVertical="8dp"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
android:id="@+id/popupPosition"
|
2022-02-16 12:30:44 +03:00
|
|
|
app:endIconMode="custom"
|
|
|
|
app:endIconDrawable="@drawable/ic_baseline_check_circle_24"
|
2022-02-14 04:22:31 +03:00
|
|
|
android:hint="@string/popup_position"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
|
|
android:inputType="number"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
2022-02-14 04:45:37 +03:00
|
|
|
<Space
|
|
|
|
android:layout_marginVertical="8dp"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:id="@+id/divider"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:layout_marginVertical="8dp"
|
|
|
|
android:background="?android:attr/listDivider" />
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/fallback"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layoutDirection="rtl"
|
|
|
|
android:text="@string/fallback"
|
|
|
|
android:textSize="16sp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/description3"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/fallback_description"
|
|
|
|
android:textSize="12sp" />
|
|
|
|
|
2022-02-07 13:35:33 +03:00
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|
|
|
|
|
2022-02-01 23:38:08 +03:00
|
|
|
<ToggleButton
|
|
|
|
android:id="@+id/toggle"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingVertical="12dp"
|
|
|
|
android:textSize="16sp"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent" />
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|