You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
98 lines
4.0 KiB
98 lines
4.0 KiB
<?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"
|
|
android:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<androidx.appcompat.widget.Toolbar
|
|
android:id="@+id/tool_bar"
|
|
android:background="@color/background_menu"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:theme="?attr/actionBarStyle"
|
|
app:titleTextAppearance="@style/ToolbarTitle"
|
|
app:popupTheme="@style/AppTheme.PopupOverlay"
|
|
app:title="@string/replace_rule_edit" />
|
|
|
|
<ScrollView
|
|
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.ui.widget.text.EditText
|
|
android:id="@+id/et_name"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
</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.ui.widget.text.EditText
|
|
android:id="@+id/et_group"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
</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.ui.widget.text.EditText
|
|
android:id="@+id/et_replace_rule"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
</io.legado.app.ui.widget.text.TextInputLayout>
|
|
|
|
<io.legado.app.lib.theme.view.ATECheckBox
|
|
android:id="@+id/cb_use_regex"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/use_regex" />
|
|
|
|
<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.ui.widget.text.EditText
|
|
android:id="@+id/et_replace_to"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
</io.legado.app.ui.widget.text.TextInputLayout>
|
|
|
|
<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.ui.widget.text.EditText
|
|
android:id="@+id/et_scope"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
</io.legado.app.ui.widget.text.TextInputLayout>
|
|
|
|
</LinearLayout>
|
|
</ScrollView>
|
|
|
|
</LinearLayout> |