Fix incorrect ripple effect in search box.

Fixes #12641
This commit is contained in:
Cody Henthorne 2023-02-01 08:44:59 -05:00 committed by Greyson Parrelli
parent 5024998a6f
commit b4c572678c

View file

@ -72,6 +72,7 @@ class KeyboardPageSearchView @JvmOverloads constructor(
}
clearButton.setOnClickListener { clearQuery() }
clearButton.isClickable = false
context.obtainStyledAttributes(attrs, R.styleable.KeyboardPageSearchView, 0, 0).use { typedArray ->
val showAlways: Boolean = typedArray.getBoolean(R.styleable.KeyboardPageSearchView_show_always, false)