|
@@ -0,0 +1,95 @@
|
|
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
+<androidx.constraintlayout.widget.ConstraintLayout 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">
|
|
|
|
|
+
|
|
|
|
|
+ <io.legado.app.ui.widget.TitleBar
|
|
|
|
|
+ android:id="@+id/titleBar"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
|
|
+ app:contentInsetStartWithNavigation="0dp"
|
|
|
|
|
+ app:contentLayout="@layout/view_search" />
|
|
|
|
|
+
|
|
|
|
|
+ <!--path-->
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:id="@+id/lay_top"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:background="@color/background"
|
|
|
|
|
+ android:elevation="1dp"
|
|
|
|
|
+ android:gravity="center_vertical"
|
|
|
|
|
+ android:minHeight="36dp"
|
|
|
|
|
+ android:orientation="horizontal"
|
|
|
|
|
+ android:padding="8dp"
|
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/titleBar">
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/tv_path"
|
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
|
+ android:focusable="true"
|
|
|
|
|
+ android:gravity="center_vertical"
|
|
|
|
|
+ android:singleLine="true"
|
|
|
|
|
+ android:textColor="@color/secondaryText"
|
|
|
|
|
+ android:textSize="13sp"
|
|
|
|
|
+ tools:text="/" />
|
|
|
|
|
+
|
|
|
|
|
+ <io.legado.app.ui.widget.text.StrokeTextView
|
|
|
|
|
+ android:id="@+id/tv_go_back"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_gravity="center"
|
|
|
|
|
+ android:layout_margin="4dp"
|
|
|
|
|
+ android:gravity="center"
|
|
|
|
|
+ android:paddingLeft="16dp"
|
|
|
|
|
+ android:paddingRight="16dp"
|
|
|
|
|
+ android:text="@string/go_back"
|
|
|
|
|
+ android:textFontWeight="800"
|
|
|
|
|
+ android:textSize="14sp"
|
|
|
|
|
+ app:cornerRadius="5dp"
|
|
|
|
|
+ tools:ignore="UnusedAttribute" />
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+
|
|
|
|
|
+ <io.legado.app.ui.widget.anima.RefreshProgressBar
|
|
|
|
|
+ android:id="@+id/refresh_progress_bar"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="2dp"
|
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/lay_top" />
|
|
|
|
|
+
|
|
|
|
|
+ <FrameLayout
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="0dp"
|
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
|
+ app:layout_constraintBottom_toTopOf="@id/select_action_bar"
|
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/refresh_progress_bar">
|
|
|
|
|
+
|
|
|
|
|
+ <io.legado.app.ui.widget.recycler.scroller.FastScrollRecyclerView
|
|
|
|
|
+ android:id="@+id/recycler_view"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
|
+ tools:ignore="SpeakableTextPresentCheck" />
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/tv_empty_msg"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_gravity="center"
|
|
|
|
|
+ android:layout_margin="16dp"
|
|
|
|
|
+ android:gravity="center"
|
|
|
|
|
+ android:text="@string/empty"
|
|
|
|
|
+ android:visibility="gone"
|
|
|
|
|
+ tools:text="TextView" />
|
|
|
|
|
+
|
|
|
|
|
+ </FrameLayout>
|
|
|
|
|
+
|
|
|
|
|
+ <io.legado.app.ui.widget.SelectActionBar
|
|
|
|
|
+ android:id="@+id/select_action_bar"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent" />
|
|
|
|
|
+
|
|
|
|
|
+</androidx.constraintlayout.widget.ConstraintLayout>
|