I want to change the icon for the "enter" key on the search dialog's associated keyboard on Android. See the image below:
Instead of the arrow pointing to the right I would like another icon, e.g. search.
I use an option menu item:
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@ id/search"
android:title="@string/search_title"
android:icon="@drawable/ic_search"
app:showAsAction="collapseActionView|ifRoom"
/>
</menu>
CodePudding user response:
You can try these options for changing keyboard icon
android:imeOptions="actionGo"
OR
android:imeOptions="actionDone"
OR
android:imeOptions="actionNext"
OR
android:imeOptions="actionPrevious"
OR
android:imeOptions="actionSend"
and many more you can check it out
thanks