安卓:设置菜单输出/可见 [英] android : set the menu out / visible
本文介绍了安卓:设置菜单输出/可见的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
也许这个问题已经被问,但我无法找到,即使在Android的文档的菜单一节有关的任何信息... 因此,没有人知道是否有一种方法来设置菜单上进行的活动(以避免在手机上的菜单按钮,用户点击)...?
Maybe this question has been asked already but I can't find any information about that even in the "Menu" section of Android's doc... So does anyone know if there is a way to set the menu out on an activity (to avoid the user clicking on the menu button of the phone)...?
推荐答案
是<一个href="http://stackoverflow.com/questions/2091222/open-options-meny-via-$c$c/2091376#2091376">this你在找什么Sephy?
Is this what you are looking for Sephy ?
Activity.openOptionsMenu()
这篇关于安卓:设置菜单输出/可见的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文