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.
115 lines
4.6 KiB
115 lines
4.6 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: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" />
|
|
|
|
<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>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:gravity="center_vertical">
|
|
|
|
<io.legado.app.lib.theme.view.ATECheckBox
|
|
android:id="@+id/cb_use_regex"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="@string/use_regex" />
|
|
|
|
<ImageView
|
|
android:id="@+id/iv_help"
|
|
android:layout_width="24dp"
|
|
android:layout_height="24dp"
|
|
android:src="@drawable/ic_help"
|
|
app:tint="@color/secondaryText"
|
|
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.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> |