pull/32/head
kunfei 5 years ago
parent cdb4bcf5df
commit 2ef5fbc987
  1. 5
      app/src/main/java/io/legado/app/ui/widget/page/ContentView.kt

@ -20,9 +20,12 @@ class ContentView : FrameLayout {
init {
inflate(context, R.layout.view_book_page, this)
page_panel.horizontalPadding = 16.dp
upStyle()
}
fun upStyle() {
page_panel.horizontalPadding = 16.dp
}
fun setContent(text: CharSequence?) {
content_text_view.text = text

Loading…
Cancel
Save