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