|
|
@@ -0,0 +1,98 @@
|
|
|
+<?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="match_parent"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <io.legado.app.ui.widget.TitleBar
|
|
|
+ android:id="@+id/tool_bar"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:theme="?attr/actionBarStyle"
|
|
|
+ app:attachToActivity="false"
|
|
|
+ app:contentLayout="@layout/view_search"
|
|
|
+ app:fitStatusBar="false"
|
|
|
+ app:popupTheme="@style/AppTheme.PopupOverlay"
|
|
|
+ app:titleTextAppearance="@style/ToolbarTitle" />
|
|
|
+
|
|
|
+ <FrameLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="0dp"
|
|
|
+ android:layout_weight="1">
|
|
|
+
|
|
|
+ <io.legado.app.ui.widget.recycler.scroller.FastScrollRecyclerView
|
|
|
+ android:id="@+id/recycler_view"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:scrollbars="none"
|
|
|
+ tools:ignore="SpeakableTextPresentCheck" />
|
|
|
+
|
|
|
+ <io.legado.app.ui.widget.anima.RotateLoading
|
|
|
+ android:id="@+id/rotate_loading"
|
|
|
+ android:layout_width="36dp"
|
|
|
+ android:layout_height="36dp"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:layout_margin="6dp"
|
|
|
+ android:visibility="gone"
|
|
|
+ app:loading_width="2dp" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_msg"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:padding="16dp"
|
|
|
+ android:textColor="@color/secondaryText"
|
|
|
+ android:visibility="gone" />
|
|
|
+
|
|
|
+ </FrameLayout>
|
|
|
+
|
|
|
+ <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:visibility="gone"
|
|
|
+ tools:ignore="RtlHardcoded" />
|
|
|
+
|
|
|
+ <Space
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="0dp" />
|
|
|
+
|
|
|
+ <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"
|
|
|
+ android:visibility="gone"
|
|
|
+ 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"
|
|
|
+ android:visibility="gone"
|
|
|
+ tools:ignore="RtlHardcoded" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ </com.google.android.flexbox.FlexboxLayout>
|
|
|
+</LinearLayout>
|