From 4d1134a964204e770ae0aecd8a7a3e4c21487777 Mon Sep 17 00:00:00 2001 From: kunfei Date: Fri, 30 Aug 2019 18:22:08 +0800 Subject: [PATCH] up --- .../java/io/legado/app/ui/readbook/config/ReadStyleDialog.kt | 1 + app/src/main/res/layout/dialog_read_bg_text.xml | 1 + 2 files changed, 2 insertions(+) diff --git a/app/src/main/java/io/legado/app/ui/readbook/config/ReadStyleDialog.kt b/app/src/main/java/io/legado/app/ui/readbook/config/ReadStyleDialog.kt index 82a633dd4..efc603a13 100644 --- a/app/src/main/java/io/legado/app/ui/readbook/config/ReadStyleDialog.kt +++ b/app/src/main/java/io/legado/app/ui/readbook/config/ReadStyleDialog.kt @@ -253,6 +253,7 @@ class ReadStyleDialog : DialogFragment() { } private fun showBgTextConfig() { + dismiss() val activity = activity if (activity is ReadBookActivity) { activity.showBgTextConfig() diff --git a/app/src/main/res/layout/dialog_read_bg_text.xml b/app/src/main/res/layout/dialog_read_bg_text.xml index b1fb23a81..3f0541eb6 100644 --- a/app/src/main/res/layout/dialog_read_bg_text.xml +++ b/app/src/main/res/layout/dialog_read_bg_text.xml @@ -4,6 +4,7 @@ android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent" + android:background="@color/background" android:padding="10dp">