pull/32/head
kunfei 5 years ago
parent 19782da977
commit b1952be9e6
  1. 1
      app/src/main/java/io/legado/app/ui/widget/page/ContentView.kt

@ -35,6 +35,7 @@ class ContentView : FrameLayout {
) )
init { init {
//设置背景防止切换背景时文字重叠
setBackgroundColor(context.getCompatColor(R.color.background)) setBackgroundColor(context.getCompatColor(R.color.background))
addView(bgImage, LayoutParams(matchParent, matchParent)) addView(bgImage, LayoutParams(matchParent, matchParent))
inflate(context, R.layout.view_book_page, this) inflate(context, R.layout.view_book_page, this)

Loading…
Cancel
Save