@ -96,6 +96,7 @@ object ReadBookConfig {
var paddingLeft: Int = 16,
var paddingRight: Int = 16,
var paddingTop: Int = 0,
var textBold: Boolean = false,
var textColor: String = "#3E3D3B",
var textSize: Int = 15
) {
@ -49,6 +49,7 @@ class ContentView : FrameLayout {
content_text_view.textSize = textSize.toFloat()
content_text_view.setLineSpacing(lineSpacingExtra, lineSpacingMultiplier)
content_text_view.letterSpacing = letterSpacing
content_text_view.paint.isFakeBoldText = textBold
textColor().let {
content_text_view.setTextColor(it)
tv_top_left.setTextColor(it)