简体   繁体   English

Android菜单溢出但不是操作栏

[英]Android menu on overflow BUT NOT not actionbar

any pointer as to how I could let my app running on android 3.0+ show the old menu ONLY on the overflow bar BUT not on the actionbar? 关于如何让我的应用在android 3.0+上运行的任何指针,仅在溢出栏上显示旧菜单,而在操作栏上不显示?

been trying to find this one out all over the web with no results! 一直试图在整个网络上找到这个,但没有结果!

any help is appreciated. 任何帮助表示赞赏。

您可以将showAsAction属性用于MenuItem并将其设置为never将菜单项放置在溢出菜单中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM