开发者

Why can't we not open the option menu when the searchbar of SearchBarManager is open?

开发者 https://www.devze.com 2023-03-25 18:31 出处:网络
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 aplica

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

精彩评论

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