From 65ecd69ad395b1940fc33aff1035f4b004d4e3e2 Mon Sep 17 00:00:00 2001 From: kunfei Date: Thu, 17 Feb 2022 10:45:11 +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 | 47 +++++++++++----------- 1 file changed, 23 insertions(+), 24 deletions(-) diff --git a/app/src/main/res/layout/view_book_page.xml b/app/src/main/res/layout/view_book_page.xml index 14054f7cf..85dcf7822 100644 --- a/app/src/main/res/layout/view_book_page.xml +++ b/app/src/main/res/layout/view_book_page.xml @@ -1,24 +1,23 @@ - + android:layout_height="match_parent" /> + app:layout_constraintTop_toTopOf="parent" /> + app:layout_constraintRight_toLeftOf="@+id/tv_header_right" + app:layout_constraintTop_toTopOf="parent" /> + app:layout_constraintTop_toBottomOf="@id/ll_header" /> + app:layout_constraintBottom_toTopOf="@id/vw_bottom_divider" + app:layout_constraintTop_toBottomOf="@id/vw_top_divider" /> + app:layout_constraintBottom_toTopOf="@id/ll_footer" /> @@ -127,8 +126,8 @@ android:id="@+id/bv_footer_left" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:maxLines="1" android:ellipsize="end" + android:singleLine="true" android:textSize="12sp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintLeft_toLeftOf="parent" @@ -138,9 +137,9 @@ android:id="@+id/tv_footer_middle" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:textSize="12sp" - android:maxLines="1" android:ellipsize="end" + android:singleLine="true" + android:textSize="12sp" android:visibility="gone" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintLeft_toLeftOf="parent" @@ -152,9 +151,9 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="3dp" - android:textSize="12sp" - android:maxLines="1" android:ellipsize="end" + android:singleLine="true" + android:textSize="12sp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toTopOf="parent"