I change android soft keyboard to show search icon rather than Enter icon. My question is: how i can detect that user click on that search button?
相关问题
- Delete Messages from a Topic in Apache Kafka
- Jackson Deserialization not calling deserialize on
- How can I create this custom Bottom Navigation on
- How to maintain order of key-value in DataFrame sa
- StackExchange API - Deserialize Date in JSON Respo
You can use
OnQuerySubmit
listener to get keyboard Search button click event.Here's how,
In the edittext you might have used your input method options to search.
Now use the Editor listener on the EditText to handle the search event as shown below: