From 59511c9b1636c1ac171dc60749c00f86c8461f2e Mon Sep 17 00:00:00 2001 From: kunfei Date: Mon, 24 Jan 2022 20:10:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/res/layout/view_book_page.xml | 24 ++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/app/src/main/res/layout/view_book_page.xml b/app/src/main/res/layout/view_book_page.xml index 95fd4f1f3..6e3b644f8 100644 --- a/app/src/main/res/layout/view_book_page.xml +++ b/app/src/main/res/layout/view_book_page.xml @@ -1,5 +1,6 @@ - + android:layout_height="wrap_content" + app:layout_constraintTop_toTopOf="parent"/> + android:gravity="center_vertical" + app:layout_constraintTop_toBottomOf="@id/vw_status_bar"> + android:visibility="invisible" + app:layout_constraintTop_toBottomOf="@id/ll_header"/> + android:layout_weight="1" + app:layout_constraintTop_toBottomOf="@id/vw_top_divider" + app:layout_constraintBottom_toTopOf="@id/vw_bottom_divider"/> + android:visibility="invisible" + app:layout_constraintBottom_toTopOf="@id/ll_footer"/> + android:gravity="center_vertical" + app:layout_constraintBottom_toBottomOf="parent"> - \ No newline at end of file + \ No newline at end of file