调整颜色

pull/2253/head
XieJC 2 years ago
parent 206382fa00
commit d1c23b13ad
  1. 2
      app/src/main/java/io/legado/app/ui/book/read/ReadMenu.kt

@ -160,7 +160,7 @@ class ReadMenu @JvmOverloads constructor(
val bgColor = this@ReadMenu.bgColor val bgColor = this@ReadMenu.bgColor
val textColor = this@ReadMenu.textColor val textColor = this@ReadMenu.textColor
val bottomBackgroundList = this@ReadMenu.bottomBackgroundList val bottomBackgroundList = this@ReadMenu.bottomBackgroundList
val lightTextColor = ColorUtils.lightenColor(textColor) val lightTextColor = ColorUtils.withAlpha(ColorUtils.lightenColor(textColor),0.75f)
titleBar.setTextColor(textColor) titleBar.setTextColor(textColor)
titleBar.setBackgroundColor(bgColor) titleBar.setBackgroundColor(bgColor)
titleBar.setColorFilter(textColor) titleBar.setColorFilter(textColor)

Loading…
Cancel
Save