优化导航栏位置

pull/1395/head
gedoor 3 years ago
parent f5d875e8a8
commit 99c0db589c
  1. 2
      app/src/main/java/io/legado/app/ui/book/read/ReadMenu.kt

@ -316,7 +316,7 @@ class ReadMenu @JvmOverloads constructor(
vwMenuBg.setOnClickListener { runMenuOut() } vwMenuBg.setOnClickListener { runMenuOut() }
root.padding = 0 root.padding = 0
when (activity?.navigationBarPos) { when (activity?.navigationBarPos) {
3 -> root.bottomPadding = navigationBarHeight 0 -> root.bottomPadding = navigationBarHeight
1 -> root.leftPadding = navigationBarHeight 1 -> root.leftPadding = navigationBarHeight
2 -> root.rightPadding = navigationBarHeight 2 -> root.rightPadding = navigationBarHeight
} }

Loading…
Cancel
Save