更新一些库版本

pull/298/head
gedoor 4 years ago
parent cb39ad141b
commit da3026ad30
  1. 4
      app/src/main/java/io/legado/app/ui/widget/SearchView.kt
  2. 2
      app/src/main/java/io/legado/app/ui/widget/text/MultilineTextView.kt
  3. 2
      app/src/main/java/io/legado/app/ui/widget/text/ScrollTextView.kt

@ -20,12 +20,12 @@ class SearchView : SearchView {
private var textView: TextView? = null
constructor(
context: Context?,
context: Context,
attrs: AttributeSet? = null
) : super(context, attrs)
constructor(
context: Context?,
context: Context,
attrs: AttributeSet?,
defStyleAttr: Int
) : super(context, attrs, defStyleAttr)

@ -5,7 +5,7 @@ import android.graphics.Canvas
import android.util.AttributeSet
import androidx.appcompat.widget.AppCompatTextView
class MultilineTextView(context: Context?, attrs: AttributeSet?) :
class MultilineTextView(context: Context, attrs: AttributeSet?) :
AppCompatTextView(context, attrs) {
override fun onDraw(canvas: Canvas?) {

@ -6,7 +6,7 @@ import android.util.AttributeSet
import android.view.MotionEvent
import androidx.appcompat.widget.AppCompatTextView
class ScrollTextView(context: Context?, attrs: AttributeSet?) : AppCompatTextView(context, attrs) {
class ScrollTextView(context: Context, attrs: AttributeSet?) : AppCompatTextView(context, attrs) {
//滑动距离的最大边界
private var mOffsetHeight = 0

Loading…
Cancel
Save