开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜