pull/34/head
kunfei 5 years ago
parent d0bc02e9a4
commit e13c0e715a
  1. 4
      app/src/main/java/io/legado/app/ui/widget/page/PageView.kt
  2. 3
      app/src/main/res/layout/view_book_page.xml

@ -112,6 +112,10 @@ class PageView(context: Context, attrs: AttributeSet) : FrameLayout(context, att
pageDelegate?.scroll()
}
override fun onInterceptTouchEvent(ev: MotionEvent?): Boolean {
return true
}
@SuppressLint("ClickableViewAccessibility")
override fun onTouchEvent(event: MotionEvent): Boolean {
return pageDelegate?.onTouch(event) ?: super.onTouchEvent(event)

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

Loading…
Cancel
Save