|
|
@@ -1,6 +1,102 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
-<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent">
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
+ xmlns:tools="http://schemas.android.com/tools"
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
-</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
+ <androidx.appcompat.widget.Toolbar
|
|
|
+ android:id="@+id/tool_bar"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:theme="?attr/actionBarStyle"
|
|
|
+ app:title="@string/cover_config"
|
|
|
+ app:popupTheme="@style/AppTheme.PopupOverlay"
|
|
|
+ app:titleTextAppearance="@style/ToolbarTitle" />
|
|
|
+
|
|
|
+ <androidx.core.widget.NestedScrollView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="0dp"
|
|
|
+ android:layout_weight="1">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:padding="16dp">
|
|
|
+
|
|
|
+ <io.legado.app.ui.widget.text.TextInputLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:paddingTop="3dp">
|
|
|
+
|
|
|
+ <io.legado.app.lib.theme.view.ThemeEditText
|
|
|
+ android:id="@+id/edit_search_url"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:hint="@string/r_search_url"
|
|
|
+ tools:ignore="SpeakableTextPresentCheck,TouchTargetSizeCheck" />
|
|
|
+
|
|
|
+ </io.legado.app.ui.widget.text.TextInputLayout>
|
|
|
+
|
|
|
+ <io.legado.app.ui.widget.text.TextInputLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:paddingTop="3dp">
|
|
|
+
|
|
|
+ <io.legado.app.lib.theme.view.ThemeEditText
|
|
|
+ android:id="@+id/edit_cover_url_rule"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:hint="@string/rule_cover_url"
|
|
|
+ tools:ignore="SpeakableTextPresentCheck,TouchTargetSizeCheck" />
|
|
|
+
|
|
|
+ </io.legado.app.ui.widget.text.TextInputLayout>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ </androidx.core.widget.NestedScrollView>
|
|
|
+
|
|
|
+ <com.google.android.flexbox.FlexboxLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:paddingLeft="12dp"
|
|
|
+ android:paddingRight="12dp"
|
|
|
+ app:flexWrap="wrap"
|
|
|
+ app:justifyContent="space_between">
|
|
|
+
|
|
|
+ <io.legado.app.ui.widget.text.AccentTextView
|
|
|
+ android:id="@+id/tv_footer_left"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:padding="12dp"
|
|
|
+ android:text="@string/btn_default_s"
|
|
|
+ tools:ignore="RtlHardcoded" />
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <io.legado.app.ui.widget.text.AccentTextView
|
|
|
+ android:id="@+id/tv_cancel"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:padding="12dp"
|
|
|
+ android:text="@string/cancel"
|
|
|
+ tools:ignore="RtlHardcoded" />
|
|
|
+
|
|
|
+ <io.legado.app.ui.widget.text.AccentTextView
|
|
|
+ android:id="@+id/tv_ok"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:padding="12dp"
|
|
|
+ android:text="@string/ok"
|
|
|
+ tools:ignore="RtlHardcoded" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ </com.google.android.flexbox.FlexboxLayout>
|
|
|
+
|
|
|
+</LinearLayout>
|