From b1952be9e6186ec210a7155166224890b304f26e Mon Sep 17 00:00:00 2001 From: kunfei Date: Wed, 28 Aug 2019 17:45:49 +0800 Subject: [PATCH] up --- app/src/main/java/io/legado/app/ui/widget/page/ContentView.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/io/legado/app/ui/widget/page/ContentView.kt b/app/src/main/java/io/legado/app/ui/widget/page/ContentView.kt index fcf4de01e..4202549e1 100644 --- a/app/src/main/java/io/legado/app/ui/widget/page/ContentView.kt +++ b/app/src/main/java/io/legado/app/ui/widget/page/ContentView.kt @@ -35,6 +35,7 @@ class ContentView : FrameLayout { ) init { + //设置背景防止切换背景时文字重叠 setBackgroundColor(context.getCompatColor(R.color.background)) addView(bgImage, LayoutParams(matchParent, matchParent)) inflate(context, R.layout.view_book_page, this)