This is default Android behavior, users should be used to it. But if you really don't want this to happen, you can put android:imeOptions="flagNoExtractUi"
in the EditText layout.
Also, the "Search" button is what you've specified in the android:imeOptions
for the action.