android - 在galaxy nexus上显示菜单按钮 [英] android - show menu button on galaxy nexus

查看:23
本文介绍了android - 在galaxy nexus上显示菜单按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要为galaxy nexus 上的某些活动显示菜单按钮.我找不到如何做到这一点,因为它默认隐藏它.我不想创建一个操作栏,因为它需要更多的空间,我想用来做其他事情.将android:targetSdkVersion"值设置为低于 14 时,它似乎显示菜单按钮,否则,它将隐藏它.顺便说一句,活动需要全屏显示,没有标题/操作栏.

i need to have the menu button shown for some activities on galaxy nexus . i can't find how to do that, since it hides it by default . i don't wish to create an action bar since it takes more space that i want to use to other things . when setting the "android:targetSdkVersion" value to lower than 14 , it seems to show the menu button , but otherwise, it hides it . btw, the activity needs to be full screen , with no title/action bars .

很奇怪,这个按钮在很多地方(甚至是启动器)默认都没有显示,而且在某些地方它确实存在.这样的按钮对于许多安卓设备来说是一个非常基本的按钮.谷歌决定不仅如此,而且切换按钮更重要的是显示,它默认显示(不知道是否可以隐藏它,但我想不会,因为长按主页按钮不再执行任何操作).

it is very weird that this button is not shown by default for so many places (even the launcher) , and on some places it does exist . such a button is a very basic one for so many android devices . google decided that not only that , but instead , the switching button is more important to be shown and it's shown by default (no idea if it's possible to hide it, but i guess not , since home button no longer does anything when long pressed) .

无论如何,请帮帮我.我对 android 4 很陌生.

anyway, please help me . i'm quite new on android 4 .

推荐答案

targetSdkVersion 不再影响旧设备和操作系统上的旧溢出菜单按钮的可见性,它已被埋没.

targetSdkVersion no longer influence the visibility of the legacy overflow menu button on newer devices and OS, it's dead and buried.

这篇关于android - 在galaxy nexus上显示菜单按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆