|
|
@ -2,7 +2,6 @@ package io.legado.app.ui.widget.text |
|
|
|
|
|
|
|
|
|
|
|
import android.annotation.SuppressLint |
|
|
|
import android.annotation.SuppressLint |
|
|
|
import android.content.Context |
|
|
|
import android.content.Context |
|
|
|
import android.text.method.LinkMovementMethod |
|
|
|
|
|
|
|
import android.util.AttributeSet |
|
|
|
import android.util.AttributeSet |
|
|
|
import android.view.GestureDetector |
|
|
|
import android.view.GestureDetector |
|
|
|
import android.view.MotionEvent |
|
|
|
import android.view.MotionEvent |
|
|
@ -81,7 +80,6 @@ open class ScrollMultiAutoCompleteTextView @JvmOverloads constructor( |
|
|
|
mTouchSlop = vc.scaledTouchSlop |
|
|
|
mTouchSlop = vc.scaledTouchSlop |
|
|
|
mMinFlingVelocity = vc.scaledMinimumFlingVelocity |
|
|
|
mMinFlingVelocity = vc.scaledMinimumFlingVelocity |
|
|
|
mMaxFlingVelocity = vc.scaledMaximumFlingVelocity |
|
|
|
mMaxFlingVelocity = vc.scaledMaximumFlingVelocity |
|
|
|
movementMethod = LinkMovementMethod.getInstance() |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
override fun onMeasure(widthMeasureSpec: Int, heightMeasureSpec: Int) { |
|
|
|
override fun onMeasure(widthMeasureSpec: Int, heightMeasureSpec: Int) { |
|
|
|