|
@@ -0,0 +1,70 @@
|
|
|
|
|
+<?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:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
+
|
|
|
|
|
+ <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/input_verification_code"
|
|
|
|
|
+ app:popupTheme="@style/AppTheme.PopupOverlay"
|
|
|
|
|
+ app:titleTextAppearance="@style/ToolbarTitle" />
|
|
|
|
|
+
|
|
|
|
|
+ <androidx.appcompat.widget.AppCompatImageView
|
|
|
|
|
+ android:id="@+id/iv_image"
|
|
|
|
|
+ android:scaleType="fitXY"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="50dp"
|
|
|
|
|
+ android:paddingLeft="12dp"
|
|
|
|
|
+ android:paddingRight="12dp"
|
|
|
|
|
+ android:paddingTop="3dp"
|
|
|
|
|
+ android:background="?android:attr/selectableItemBackgroundBorderless"
|
|
|
|
|
+ tools:ignore="UnusedAttribute" />
|
|
|
|
|
+
|
|
|
|
|
+ <io.legado.app.ui.widget.text.TextInputLayout
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:paddingLeft="12dp"
|
|
|
|
|
+ android:paddingRight="12dp"
|
|
|
|
|
+ android:paddingTop="3dp">
|
|
|
|
|
+
|
|
|
|
|
+ <io.legado.app.lib.theme.view.ThemeEditText
|
|
|
|
|
+ android:id="@+id/verification_code"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:hint="@string/verification_code"
|
|
|
|
|
+ tools:ignore="SpeakableTextPresentCheck,TouchTargetSizeCheck" />
|
|
|
|
|
+
|
|
|
|
|
+ </io.legado.app.ui.widget.text.TextInputLayout>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <com.google.android.flexbox.FlexboxLayout
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:paddingLeft="12dp"
|
|
|
|
|
+ android:paddingRight="12dp"
|
|
|
|
|
+ app:justifyContent="flex_end">
|
|
|
|
|
+
|
|
|
|
|
+ <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" />
|
|
|
|
|
+
|
|
|
|
|
+ </com.google.android.flexbox.FlexboxLayout>
|
|
|
|
|
+</LinearLayout>
|