pull/1649/head
parent
e2c38639ea
commit
70121781ff
@ -0,0 +1,58 @@ |
||||
<?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" |
||||
android:orientation="vertical" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="match_parent" |
||||
android:background="@color/background"> |
||||
|
||||
<androidx.appcompat.widget.Toolbar |
||||
android:id="@+id/tool_bar" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="wrap_content" |
||||
android:background="@color/background_menu" |
||||
android:elevation="5dp" |
||||
android:theme="?attr/actionBarStyle" |
||||
app:titleTextAppearance="@style/ToolbarTitle" |
||||
app:popupTheme="@style/AppTheme.PopupOverlay" |
||||
app:displayHomeAsUp="false" |
||||
app:fitStatusBar="false" |
||||
app:layout_constraintTop_toTopOf="parent" /> |
||||
|
||||
<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/tool_bar" /> |
||||
|
||||
<androidx.recyclerview.widget.RecyclerView |
||||
android:id="@+id/recycler_view" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="0dp" |
||||
app:layout_constraintTop_toBottomOf="@+id/refresh_progress_bar" |
||||
app:layout_constraintBottom_toBottomOf="parent" /> |
||||
|
||||
<androidx.appcompat.widget.LinearLayoutCompat |
||||
android:layout_width="match_parent" |
||||
android:layout_height="0dp" |
||||
android:background="@color/background" |
||||
android:visibility="gone" |
||||
app:layout_constraintTop_toBottomOf="@+id/tool_bar" |
||||
app:layout_constraintBottom_toBottomOf="parent"> |
||||
|
||||
<androidx.constraintlayout.utils.widget.ImageFilterView |
||||
android:layout_width="match_parent" |
||||
android:layout_height="36dp" |
||||
android:src="@drawable/ic_arrow_down" |
||||
app:tint="@color/primaryText" /> |
||||
|
||||
<androidx.recyclerview.widget.RecyclerView |
||||
android:id="@+id/recycler_view_toc" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="match_parent" |
||||
app:layout_constraintTop_toBottomOf="@+id/refresh_progress_bar" |
||||
app:layout_constraintBottom_toBottomOf="parent" /> |
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat> |
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout> |
Loading…
Reference in new issue