You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
94 lines
3.5 KiB
94 lines
3.5 KiB
<?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:title="@string/book_local" />
|
|
|
|
<!--path-->
|
|
<LinearLayout
|
|
android:id="@+id/lay_top"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:layout_constraintTop_toBottomOf="@id/titleBar"
|
|
android:background="@color/background"
|
|
android:minHeight="36dp"
|
|
android:padding="8dp"
|
|
android:gravity="center_vertical"
|
|
android:elevation="1dp"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:id="@+id/tv_path"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:gravity="center_vertical"
|
|
android:singleLine="true"
|
|
android:textColor="@color/secondaryText"
|
|
android:textSize="13sp"
|
|
android:focusable="true"
|
|
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:gravity="center"
|
|
android:paddingLeft="16dp"
|
|
android:paddingRight="16dp"
|
|
android:layout_margin="4dp"
|
|
app:cornerRadius="5dp"
|
|
android:text="@string/go_back"
|
|
android:textFontWeight="800"
|
|
android:textSize="14sp"
|
|
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_constraintTop_toBottomOf="@id/refresh_progress_bar"
|
|
app:layout_constraintBottom_toTopOf="@id/select_action_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_margin="16dp"
|
|
android:gravity="center"
|
|
android:layout_gravity="center"
|
|
android:visibility="gone"
|
|
android:text="@string/empty_msg_import_book"
|
|
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> |