|
|
@ -91,9 +91,8 @@ class SearchView : SearchView { |
|
|
|
super.setQueryHint(hint) |
|
|
|
super.setQueryHint(hint) |
|
|
|
updateQueryHint() |
|
|
|
updateQueryHint() |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
internal class CenteredImageSpan(drawable: Drawable?) : ImageSpan(drawable!!) { |
|
|
|
internal class CenteredImageSpan(drawable: Drawable?) : ImageSpan(drawable!!) { |
|
|
|
override fun draw( |
|
|
|
override fun draw( |
|
|
|
canvas: Canvas, text: CharSequence, |
|
|
|
canvas: Canvas, text: CharSequence, |
|
|
|
start: Int, end: Int, x: Float, |
|
|
|
start: Int, end: Int, x: Float, |
|
|
@ -110,4 +109,5 @@ internal class CenteredImageSpan(drawable: Drawable?) : ImageSpan(drawable!!) { |
|
|
|
b.draw(canvas) |
|
|
|
b.draw(canvas) |
|
|
|
canvas.restore() |
|
|
|
canvas.restore() |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |