From 5ae665d7937f8114faac60c886372bd9a1fe4623 Mon Sep 17 00:00:00 2001 From: Xwite <1797350009@qq.com> Date: Sun, 26 Mar 2023 11:55:36 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E4=BB=8B=E7=BB=8D=E8=BF=87=E9=95=BF?= =?UTF-8?q?=E6=97=B6=E4=B8=8B=E6=8B=89=E5=86=B2=E7=AA=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/res/layout/activity_book_info.xml | 611 +++++++++--------- 1 file changed, 306 insertions(+), 305 deletions(-) diff --git a/app/src/main/res/layout/activity_book_info.xml b/app/src/main/res/layout/activity_book_info.xml index 021d53562..787de32d5 100644 --- a/app/src/main/res/layout/activity_book_info.xml +++ b/app/src/main/res/layout/activity_book_info.xml @@ -14,31 +14,32 @@ android:contentDescription="@string/bg_image" app:layout_constraintTop_toTopOf="parent" /> - + android:background="#50000000" + android:orientation="vertical"> - + android:layout_height="wrap_content" + app:layout_constraintTop_toTopOf="parent" + app:title="@string/book_info" + app:themeMode="dark" /> - + + android:layout_height="wrap_content" > - + + + + + android:layout_height="wrap_content"> + + + + + + + + + android:gravity="center_vertical" + android:orientation="horizontal" + android:paddingTop="3dp" + android:paddingBottom="3dp" + tools:ignore="UseCompoundDrawables"> + + - - + android:text="@string/author" + android:textColor="@color/tv_text_summary" + android:textSize="13sp" + tools:ignore="NestedWeights,RtlHardcoded,RtlSymmetry" /> + android:layout_height="wrap_content" + android:gravity="center_vertical" + android:orientation="horizontal" + android:paddingTop="3dp" + android:paddingBottom="3dp"> - + + + android:layout_weight="1" + android:ellipsize="end" + android:includeFontPadding="false" + android:paddingRight="6dp" + android:singleLine="true" + android:textColor="@color/tv_text_summary" + android:textSize="13sp" + tools:ignore="NestedWeights,RtlHardcoded,RtlSymmetry" + tools:text="@string/origin_format" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + android:layout_marginStart="8dp" + android:paddingLeft="5dp" + android:paddingRight="5dp" + android:textSize="13sp" + android:text="@string/change_origin" + app:radius="2dp" /> - + android:gravity="center_vertical" + android:orientation="horizontal" + android:paddingTop="3dp" + android:paddingBottom="3dp" + tools:ignore="UseCompoundDrawables"> + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + android:minHeight="48dp" + android:paddingLeft="8dp" + android:paddingBottom="8dp" + android:text="@string/book_intro" + android:textColor="@color/secondaryText" + android:textSize="14sp" + android:visibility="visible" + tools:ignore="RtlHardcoded,RtlSymmetry" /> + + + + + + + + + + - +