|
|
@ -12,6 +12,7 @@ import io.legado.app.App |
|
|
|
import io.legado.app.R |
|
|
|
import io.legado.app.R |
|
|
|
import io.legado.app.help.AppConfig |
|
|
|
import io.legado.app.help.AppConfig |
|
|
|
import io.legado.app.help.ReadBookConfig |
|
|
|
import io.legado.app.help.ReadBookConfig |
|
|
|
|
|
|
|
import io.legado.app.lib.theme.ATH |
|
|
|
import io.legado.app.lib.theme.accentColor |
|
|
|
import io.legado.app.lib.theme.accentColor |
|
|
|
import io.legado.app.lib.theme.buttonDisabledColor |
|
|
|
import io.legado.app.lib.theme.buttonDisabledColor |
|
|
|
import io.legado.app.service.help.ReadBook |
|
|
|
import io.legado.app.service.help.ReadBook |
|
|
@ -48,6 +49,7 @@ class ReadMenu : FrameLayout { |
|
|
|
fabNightTheme.setImageResource(R.drawable.ic_brightness) |
|
|
|
fabNightTheme.setImageResource(R.drawable.ic_brightness) |
|
|
|
} |
|
|
|
} |
|
|
|
initAnimation() |
|
|
|
initAnimation() |
|
|
|
|
|
|
|
ATH.applyBackgroundTint(fl_bottom_bg) |
|
|
|
vw_bg.onClick { } |
|
|
|
vw_bg.onClick { } |
|
|
|
vwNavigationBar.onClick { } |
|
|
|
vwNavigationBar.onClick { } |
|
|
|
seek_brightness.progress = context.getPrefInt("brightness", 100) |
|
|
|
seek_brightness.progress = context.getPrefInt("brightness", 100) |
|
|
|