Let IME button dismiss keyboard during search (#673)
The IME search button is currently without function while the PasswordStore SearchView is focused, which means that the keyboard hides part of the search result until back is pressed. This commit makes the IME button function like the back key in this situation, dismissing the keyboard. Co-authored-by: Harsh Shandilya <msfjarvis@gmail.com>
This commit is contained in:
parent
94b0b64501
commit
453cf58b38
1 changed files with 1 additions and 0 deletions
|
@ -167,6 +167,7 @@ class PasswordStore : AppCompatActivity() {
|
|||
searchView.setOnQueryTextListener(
|
||||
object : OnQueryTextListener {
|
||||
override fun onQueryTextSubmit(s: String): Boolean {
|
||||
searchView.clearFocus()
|
||||
return true
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue