Why can't we not open the option menu when the searchbar of SearchBarManager is open?
I made an Android appl开发者_开发知识库ication that uses that uses the SearchManager. The problem is that when the search bar is open, the menu button is not working. But in the rest of the aplications, the option button responds very well. Is there a way to run onCreateOptionsMenu when the search bar is open?
Have a look at this tutorial. It shows how you can use the onCreateOptionsMenu
with the SearchManager
.
精彩评论