Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android keyboard "Go" button to "Search"

can any one tell how to get "Search" in place of "Go" or "Done" button in android keyboard. (not magnifying glass ) .

like image 745
Nemo Avatar asked Aug 23 '11 04:08

Nemo


1 Answers

something like this

android:imeOptions="actionSearch"

might work. in your case

there are also other options like

android:imeActionLabel="Search"

EDIT

please check this thread as well. LINK

accroding to the above link you get full text only in landscape mode.

full label is only displayed when the IME has a large amount of space for it (such as when the standard keyboard is in fullscreen mode).

so i guess you can use android:imeOptions="actionSearch" and the text Search will appear in landscape only.

like image 52
Samuel Avatar answered Nov 16 '22 03:11

Samuel