pull/34/head
kunfei 5 years ago
parent f729531dac
commit 4247a573e0
  1. 2
      app/src/main/java/io/legado/app/ui/widget/page/delegate/PageDelegate.kt
  2. 3
      app/src/main/res/layout/view_book_page.xml

@ -188,7 +188,9 @@ abstract class PageDelegate(protected val pageView: PageView) {
if (event.action == MotionEvent.ACTION_DOWN) { if (event.action == MotionEvent.ACTION_DOWN) {
curPage?.let { curPage?.let {
it.contentTextView()?.let { contentTextView -> it.contentTextView()?.let { contentTextView ->
if (!contentTextView.isTextSelectable) {
contentTextView.setTextIsSelectable(true) contentTextView.setTextIsSelectable(true)
}
atTop = contentTextView.atTop() atTop = contentTextView.atTop()
atBottom = contentTextView.atBottom() atBottom = contentTextView.atBottom()
} }

@ -32,7 +32,8 @@
android:id="@+id/content_text_view" android:id="@+id/content_text_view"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="0dp" android:layout_height="0dp"
android:layout_weight="1" /> android:layout_weight="1"
android:textIsSelectable="true" />
<LinearLayout <LinearLayout
android:id="@+id/bottom_bar" android:id="@+id/bottom_bar"

Loading…
Cancel
Save