Этого можно добиться с помощью ..
youredittext - это текст редактирования ...
youredittext.setImeOptions(EditorInfo.IME_ACTION_SEARCH);
youredittext.setImeActionLabel......with this you can specify a string
youredittext.setOnEditorActionListener(new TextView.OnEditorActionListener() {
@Override
public boolean onEditorAction(TextView v, int actionId, KeyEvent event) {
if (actionId == EditorInfo.IME_ACTION_SEARCH) {
performSearch();
return true;
}
return false;
}
});