| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- <?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:gravity="center_vertical"
- android:minHeight="36dp"
- android:orientation="horizontal"
- android:paddingHorizontal="16dp"
- 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:textSize="14sp"
- tools:text="/" />
- <com.google.android.material.button.MaterialButton
- android:id="@+id/tv_go_back"
- android:layout_width="36dp"
- android:layout_height="36dp"
- style="@style/Widget.Material3Expressive.Button.IconButton.Tonal"
- app:icon="@drawable/ic_return"
- app:iconGravity="textStart"
- tools:ignore="UnusedAttribute" />
- </LinearLayout>
- <com.google.android.material.progressindicator.LinearProgressIndicator
- android:id="@+id/refresh_progress_bar"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:visibility="gone"
- android:indeterminate="true"
- 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>
|