From 3920db18deb3e6c056c25f4dbce923f309e70f8a Mon Sep 17 00:00:00 2001 From: kunfei Date: Sun, 8 Mar 2020 21:01:14 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../io/legado/app/ui/book/read/page/ContentView.kt | 2 -- app/src/main/res/layout/view_book_page.xml | 13 ++++++++++--- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/app/src/main/java/io/legado/app/ui/book/read/page/ContentView.kt b/app/src/main/java/io/legado/app/ui/book/read/page/ContentView.kt index 532dd5549..a9a752303 100644 --- a/app/src/main/java/io/legado/app/ui/book/read/page/ContentView.kt +++ b/app/src/main/java/io/legado/app/ui/book/read/page/ContentView.kt @@ -73,11 +73,9 @@ class ContentView(context: Context) : FrameLayout(context) { } if (hideStatusBar) { tv_bottom_left.text = timeFormat.format(Date(System.currentTimeMillis())) - tv_bottom_right.gone() battery_view.visible() battery_view.setBattery(battery) } else { - tv_bottom_right.visible() battery_view.gone() } } diff --git a/app/src/main/res/layout/view_book_page.xml b/app/src/main/res/layout/view_book_page.xml index aa8168165..fc80e05f5 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_marginLeft="3dp" + android:textSize="12sp" + tools:ignore="RtlHardcoded,RtlSymmetry" /> @@ -66,12 +69,16 @@ android:id="@+id/tv_bottom_right" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:textSize="12sp" /> + android:layout_marginLeft="3dp" + android:textSize="12sp" + tools:ignore="RtlHardcoded,RtlSymmetry" /> + android:layout_height="wrap_content" + android:layout_marginLeft="3dp" + tools:ignore="RtlHardcoded,RtlSymmetry" />