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

时间:2022-12-05 22:17:55
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. 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.

我正在为旧的Android 2.2手机及更高版本构建应用程序,并将我的菜单复制到弹出窗口,以防新的Androids出现问题。黑色条形图显示特定设备(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.

我希望在较旧的手机上继续使用物理菜单按钮,因此最好为特定的OS版本或手机型号禁用它。

How do you hide/remove the useless bottom black bar? Preferably without raising the targetSdkVersion?

你如何隐藏/删除无用的底部黑条?最好不要提升targetSdkVersion?

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

1 个解决方案

#1


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.

用锋利的斧头砍掉手机底部。请注意,这可能会使手机上的保修失效。

#1


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.

用锋利的斧头砍掉手机底部。请注意,这可能会使手机上的保修失效。