|
|
@ -40,6 +40,7 @@ class ContentView : FrameLayout { |
|
|
|
setBackgroundColor(context.getCompatColor(R.color.background)) |
|
|
|
setBackgroundColor(context.getCompatColor(R.color.background)) |
|
|
|
addView(bgImage, LayoutParams(matchParent, matchParent)) |
|
|
|
addView(bgImage, LayoutParams(matchParent, matchParent)) |
|
|
|
inflate(context, R.layout.view_book_page, this) |
|
|
|
inflate(context, R.layout.view_book_page, this) |
|
|
|
|
|
|
|
top_bar.layoutParams.height = context.getStatusBarHeight() |
|
|
|
upStyle() |
|
|
|
upStyle() |
|
|
|
upTime() |
|
|
|
upTime() |
|
|
|
content_text_view.customSelectionActionModeCallback = |
|
|
|
content_text_view.customSelectionActionModeCallback = |
|
|
|