Here's a screenshot of my application. When the search box is clicked, the soft-keyboard automatically pops up, which is fine, but, if I also press the "Menu" button, the menu appears on top of the soft-keyboard.
How can I show the menu but collapse the SearchView
if it is in focus and also hide the soft-keyboard. I probably need to check and do something in the onPrepareOptionsMenu
method of my Activity
, right?
It doesn't cause any real harm to me but it seems like an ugly implementation to the user when this happens.