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 60a90b56e..a4e62fbce 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 @@ -82,8 +82,9 @@ class ReadMenu @JvmOverloads constructor( tvFont.setTextColor(textColor) ivSetting.setColorFilter(textColor) tvSetting.setTextColor(textColor) - vwBg.setOnClickListener { } - vwNavigationBar.setOnClickListener { } + vwBg.setOnClickListener(null) + vwNavigationBar.setOnClickListener(null) + llBrightness.setOnClickListener(null) seekBrightness.progress = context.getPrefInt("brightness", 100) } diff --git a/app/src/main/res/layout/view_read_menu.xml b/app/src/main/res/layout/view_read_menu.xml index 1a62637cf..2dd08be5b 100644 --- a/app/src/main/res/layout/view_read_menu.xml +++ b/app/src/main/res/layout/view_read_menu.xml @@ -71,9 +71,10 @@ android:id="@+id/ll_brightness" android:layout_width="wrap_content" android:layout_height="0dp" - android:layout_margin="8dp" + android:layout_margin="16dp" android:gravity="center_horizontal" android:orientation="vertical" + android:padding="6dp" app:layout_constraintBottom_toTopOf="@+id/bottom_menu" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintTop_toBottomOf="@+id/title_bar">