在Android的上下文菜单和选项菜单的区别 [英] Difference between context menu and option menu in android
本文介绍了在Android的上下文菜单和选项菜单的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
能否请你告诉我在android的上下文菜单和选项菜单的区别?
当我点击模拟器上的菜单键,是一个选项菜单?或上下文菜单?
以及如何调用其他菜单(不是菜单按钮触发)?
感谢您。
解决方案
当我点击菜单按钮
模拟器,是选项菜单中?
块引用>是
和如何调用其他菜单(不
通过菜单按钮触发)?
块引用>长攻上任何小部件(如果有的话)有一个上下文菜单。
Can you please tell me the difference between context menu and option menu in android? When I click the menu button on the emulator, is that option menu? or context menu? And how to invoke the other menu (not trigger by the menu button)?
Thank you.
解决方案When I click the menu button on the emulator, is that option menu?
Yes.
And how to invoke the other menu (not trigger by the menu button)?
By long-tapping on whatever widget (if any) has a context menu.
这篇关于在Android的上下文菜单和选项菜单的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文