From 98e18f879f1f41fbe70ef585f95445717cdc17ea Mon Sep 17 00:00:00 2001 From: gedoor Date: Sun, 9 Aug 2020 15:55:58 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=99=E4=BA=AE=E5=BA=A6=E8=B0=83=E8=8A=82?= =?UTF-8?q?=E5=8A=A0=E4=B8=AA=E8=83=8C=E6=99=AF,=E5=BE=88=E5=A4=9A?= =?UTF-8?q?=E4=BA=BA=E6=89=BE=E4=B8=8D=E5=88=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../io/legado/app/ui/book/read/ReadMenu.kt | 6 +-- app/src/main/res/layout/view_read_menu.xml | 47 +++++++++++-------- 2 files changed, 29 insertions(+), 24 deletions(-) diff --git a/app/src/main/java/io/legado/app/ui/book/read/ReadMenu.kt b/app/src/main/java/io/legado/app/ui/book/read/ReadMenu.kt index 178d2cbac..fc1f18173 100644 --- a/app/src/main/java/io/legado/app/ui/book/read/ReadMenu.kt +++ b/app/src/main/java/io/legado/app/ui/book/read/ReadMenu.kt @@ -13,10 +13,7 @@ import io.legado.app.R import io.legado.app.constant.EventBus import io.legado.app.help.AppConfig import io.legado.app.help.ReadBookConfig -import io.legado.app.lib.theme.Selector -import io.legado.app.lib.theme.accentColor -import io.legado.app.lib.theme.bottomBackground -import io.legado.app.lib.theme.buttonDisabledColor +import io.legado.app.lib.theme.* import io.legado.app.service.help.ReadBook import io.legado.app.utils.* import kotlinx.android.synthetic.main.view_read_menu.view.* @@ -56,6 +53,7 @@ class ReadMenu : FrameLayout { fabNightTheme.setImageResource(R.drawable.ic_brightness) } initAnimation() + ll_brightness.background = ATH.getDialogBackground() ll_bottom_bg.setBackgroundColor(context.bottomBackground) vw_bg.onClick { } vwNavigationBar.onClick { } diff --git a/app/src/main/res/layout/view_read_menu.xml b/app/src/main/res/layout/view_read_menu.xml index 4fdba8675..95a5aaaad 100644 --- a/app/src/main/res/layout/view_read_menu.xml +++ b/app/src/main/res/layout/view_read_menu.xml @@ -42,32 +42,39 @@ - - - - + + + android:layout_height="match_parent"> + + + + - +