|
|
@@ -0,0 +1,56 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="#80000000"
|
|
|
+ android:padding="16dp">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:background="@drawable/shape_card_view"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.Toolbar
|
|
|
+ android:id="@+id/toolbar"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:theme="?attr/actionBarStyle"
|
|
|
+ app:popupTheme="@style/AppTheme.PopupOverlay"
|
|
|
+ app:title="跳转确认"
|
|
|
+ app:titleTextAppearance="@style/ToolbarTitle" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/message"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:padding="16dp"
|
|
|
+ android:textSize="16sp"
|
|
|
+ android:textAppearance="?attr/textAppearanceBodyMedium"/>
|
|
|
+
|
|
|
+ <com.google.android.flexbox.FlexboxLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:padding="8dp"
|
|
|
+ app:flexDirection="row"
|
|
|
+ app:justifyContent="flex_end">
|
|
|
+
|
|
|
+ <io.legado.app.ui.widget.text.AccentTextView
|
|
|
+ android:id="@+id/btn_negative"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:padding="16dp"
|
|
|
+ android:text="@string/cancel"/>
|
|
|
+
|
|
|
+ <io.legado.app.ui.widget.text.AccentTextView
|
|
|
+ android:id="@+id/btn_positive"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:padding="16dp"
|
|
|
+ android:text="@string/ok"/>
|
|
|
+
|
|
|
+ </com.google.android.flexbox.FlexboxLayout>
|
|
|
+ </LinearLayout>
|
|
|
+</FrameLayout>
|