|
|
@@ -0,0 +1,158 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ xmlns:tools="http://schemas.android.com/tools"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:padding="16dp">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:paddingBottom="10dp"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:gravity="center_vertical">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="Url参数"
|
|
|
+ android:textSize="18sp"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ <Space
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="1dp"
|
|
|
+ android:layout_weight="1" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_ok"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:padding="12dp"
|
|
|
+ android:text="@string/ok"
|
|
|
+ android:background="?android:attr/selectableItemBackgroundBorderless" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <androidx.core.widget.NestedScrollView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:overScrollMode="ifContentScrolls">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <io.legado.app.lib.theme.view.ThemeCheckBox
|
|
|
+ android:id="@+id/cb_use_web_view"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="useWebView"
|
|
|
+ tools:ignore="HardcodedText" />
|
|
|
+
|
|
|
+ <io.legado.app.ui.widget.text.TextInputLayout
|
|
|
+ android:id="@+id/layout_method"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+
|
|
|
+ <io.legado.app.ui.widget.text.AutoCompleteTextView
|
|
|
+ android:id="@+id/edit_method"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:hint="method"
|
|
|
+ tools:ignore="HardcodedText,SpeakableTextPresentCheck,TouchTargetSizeCheck" />
|
|
|
+
|
|
|
+ </io.legado.app.ui.widget.text.TextInputLayout>
|
|
|
+
|
|
|
+ <io.legado.app.ui.widget.text.TextInputLayout
|
|
|
+ android:id="@+id/layout_charset"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+
|
|
|
+ <io.legado.app.ui.widget.text.AutoCompleteTextView
|
|
|
+ android:id="@+id/edit_charset"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:hint="charset"
|
|
|
+ tools:ignore="HardcodedText,SpeakableTextPresentCheck,TouchTargetSizeCheck" />
|
|
|
+
|
|
|
+ </io.legado.app.ui.widget.text.TextInputLayout>
|
|
|
+
|
|
|
+ <io.legado.app.ui.widget.text.TextInputLayout
|
|
|
+ android:id="@+id/layout_headers"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+
|
|
|
+ <io.legado.app.ui.widget.text.AutoCompleteTextView
|
|
|
+ android:id="@+id/edit_headers"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:hint="headers"
|
|
|
+ tools:ignore="HardcodedText,SpeakableTextPresentCheck,TouchTargetSizeCheck" />
|
|
|
+
|
|
|
+ </io.legado.app.ui.widget.text.TextInputLayout>
|
|
|
+
|
|
|
+ <io.legado.app.ui.widget.text.TextInputLayout
|
|
|
+ android:id="@+id/layout_body"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+
|
|
|
+ <io.legado.app.ui.widget.text.AutoCompleteTextView
|
|
|
+ android:id="@+id/edit_body"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:hint="body"
|
|
|
+ tools:ignore="HardcodedText,SpeakableTextPresentCheck,TouchTargetSizeCheck" />
|
|
|
+
|
|
|
+ </io.legado.app.ui.widget.text.TextInputLayout>
|
|
|
+
|
|
|
+ <io.legado.app.ui.widget.text.TextInputLayout
|
|
|
+ android:id="@+id/layout_retry"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+
|
|
|
+ <io.legado.app.ui.widget.text.AutoCompleteTextView
|
|
|
+ android:id="@+id/edit_retry"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:hint="retry"
|
|
|
+ android:inputType="number"
|
|
|
+ tools:ignore="HardcodedText,SpeakableTextPresentCheck,TouchTargetSizeCheck" />
|
|
|
+
|
|
|
+ </io.legado.app.ui.widget.text.TextInputLayout>
|
|
|
+
|
|
|
+ <io.legado.app.ui.widget.text.TextInputLayout
|
|
|
+ android:id="@+id/layout_web_js"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+
|
|
|
+ <io.legado.app.ui.widget.text.AutoCompleteTextView
|
|
|
+ android:id="@+id/edit_web_js"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:hint="webJs"
|
|
|
+ tools:ignore="HardcodedText,SpeakableTextPresentCheck,TouchTargetSizeCheck" />
|
|
|
+
|
|
|
+ </io.legado.app.ui.widget.text.TextInputLayout>
|
|
|
+
|
|
|
+ <io.legado.app.ui.widget.text.TextInputLayout
|
|
|
+ android:id="@+id/layout_js"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+
|
|
|
+ <io.legado.app.ui.widget.text.AutoCompleteTextView
|
|
|
+ android:id="@+id/edit_js"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:hint="js"
|
|
|
+ tools:ignore="HardcodedText,SpeakableTextPresentCheck,TouchTargetSizeCheck" />
|
|
|
+
|
|
|
+ </io.legado.app.ui.widget.text.TextInputLayout>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ </androidx.core.widget.NestedScrollView>
|
|
|
+
|
|
|
+</LinearLayout>
|