pull/366/head
gedoor 4 years ago
parent 209350ae34
commit 18d3019df8
  1. 4
      app/src/main/java/io/legado/app/ui/book/read/page/ContentView.kt

@ -32,7 +32,9 @@ class ContentView(context: Context) : FrameLayout(context) {
private var tvPageAndTotal: BatteryView? = null private var tvPageAndTotal: BatteryView? = null
val headerHeight: Int val headerHeight: Int
get() = if (ReadBookConfig.hideStatusBar) ll_header.height else context.statusBarHeight get() = if (ReadBookConfig.hideStatusBar) {
if (ll_header.isGone) 0 else ll_header.height
} else context.statusBarHeight
init { init {
//设置背景防止切换背景时文字重叠 //设置背景防止切换背景时文字重叠

Loading…
Cancel
Save