简体   繁体   English

如何从Android屏幕底部删除黑条菜单?

[英]How to remove black bar menu from the bottom of android screen?

Device: HTC One mini
Android OS: 4.3
app minSdkVersion="8"
app targetSdkVersion="11"

I'm building apps for old Android 2.2 phones and higher and have duplicated my menu into a popup window in case newer Androids have issues with it. 我正在为旧的Android 2.2和更高版本的手机构建应用程序,并已将我的菜单复制到一个弹出窗口中,以防新的Android设备出现问题。 The black bar bellow shows the lone menu button on a specific device (HTC One mini), but my benefactors want it removed/hidden from the final version. 黑色的波纹管在特定设备(HTC One mini)上显示了单独的菜单按钮,但是我的捐助者希望将其从最终版本中删除/隐藏。

I wish to keep using the phisical menu button normally on older phones, so it would be best to disable it for specific OS versions or models of phones. 我希望在较旧的手机上正常使用phisical菜单按钮,因此最好针对特定OS版本或型号的手机禁用它。

How do you hide/remove the useless bottom black bar? 您如何隐藏/删除无用的底部黑色条? Preferably without raising the targetSdkVersion? 最好不提高targetSdkVersion?

android屏幕底部的黑条

How do you hide/remove the useless bottom black bar? 您如何隐藏/删除无用的底部黑色条?

Set your targetSdkVersion to 14 or higher . targetSdkVersion设置为14或更高

Preferably without raising the targetSdkVersion? 最好不提高targetSdkVersion?

Chop the bottom portion of the phone off with a very sharp axe. 用非常尖锐的斧头切掉手机的底部。 Note that this may void your warranty on the phone. 请注意,这可能会使您的手机保修失效。

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

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