| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159 |
- <?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:id="@+id/root_view"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
- <io.legado.app.ui.widget.TitleBar
- android:id="@+id/title_bar"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- app:contentInsetStartWithNavigation="0dp"
- app:displayHomeAsUp="true"
- app:fitStatusBar="false"
- app:title="@string/replace_rule_edit" />
- <androidx.core.widget.NestedScrollView
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <LinearLayout
- android:id="@+id/ll_content"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- android:padding="10dp">
- <io.legado.app.ui.widget.text.TextInputLayout
- android:id="@+id/til_name"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:hint="@string/replace_rule_summary">
- <io.legado.app.lib.theme.view.ThemeEditText
- android:id="@+id/et_name"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- tools:ignore="SpeakableTextPresentCheck,TouchTargetSizeCheck" />
- </io.legado.app.ui.widget.text.TextInputLayout>
- <io.legado.app.ui.widget.text.TextInputLayout
- android:id="@+id/til_group"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:hint="@string/group">
- <io.legado.app.lib.theme.view.ThemeEditText
- android:id="@+id/et_group"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- tools:ignore="SpeakableTextPresentCheck,TouchTargetSizeCheck" />
- </io.legado.app.ui.widget.text.TextInputLayout>
- <io.legado.app.ui.widget.text.TextInputLayout
- android:id="@+id/til_replace_rule"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:hint="@string/replace_rule">
- <io.legado.app.lib.theme.view.ThemeEditText
- android:id="@+id/et_replace_rule"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- tools:ignore="SpeakableTextPresentCheck,TouchTargetSizeCheck" />
- </io.legado.app.ui.widget.text.TextInputLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- android:gravity="center_vertical">
- <io.legado.app.lib.theme.view.ThemeCheckBox
- android:id="@+id/cb_use_regex"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:text="@string/use_regex"
- tools:ignore="TouchTargetSizeCheck" />
- <ImageView
- android:id="@+id/iv_help"
- android:layout_width="24dp"
- android:layout_height="24dp"
- android:src="@drawable/ic_help"
- app:tint="@color/primaryText"
- android:contentDescription="@string/help" />
- </LinearLayout>
- <io.legado.app.ui.widget.text.TextInputLayout
- android:id="@+id/til_replace_to"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:hint="@string/replace_to">
- <io.legado.app.lib.theme.view.ThemeEditText
- android:id="@+id/et_replace_to"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- tools:ignore="SpeakableTextPresentCheck,TouchTargetSizeCheck" />
- </io.legado.app.ui.widget.text.TextInputLayout>
- <androidx.appcompat.widget.LinearLayoutCompat
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <io.legado.app.lib.theme.view.ThemeCheckBox
- android:id="@+id/cb_scope_title"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:checked="false"
- android:text="@string/scope_title"
- tools:ignore="TouchTargetSizeCheck" />
- <io.legado.app.lib.theme.view.ThemeCheckBox
- android:id="@+id/cb_scope_content"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="10dp"
- android:checked="true"
- android:text="@string/scope_content"
- tools:ignore="RtlHardcoded,TouchTargetSizeCheck" />
- </androidx.appcompat.widget.LinearLayoutCompat>
- <io.legado.app.ui.widget.text.TextInputLayout
- android:id="@+id/til_scope"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:hint="@string/use_to">
- <io.legado.app.lib.theme.view.ThemeEditText
- android:id="@+id/et_scope"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- tools:ignore="SpeakableTextPresentCheck,TouchTargetSizeCheck" />
- </io.legado.app.ui.widget.text.TextInputLayout>
- <io.legado.app.ui.widget.text.TextInputLayout
- android:id="@+id/til_timeout"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:hint="@string/timeout_millisecond">
- <io.legado.app.lib.theme.view.ThemeEditText
- android:id="@+id/et_timeout"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:inputType="number"
- tools:ignore="SpeakableTextPresentCheck,TouchTargetSizeCheck" />
- </io.legado.app.ui.widget.text.TextInputLayout>
- </LinearLayout>
- </androidx.core.widget.NestedScrollView>
- </LinearLayout>
|