gpt4 book ai didi

android - ICS 平板电脑不显示菜单按钮,但它适用于 Galaxy Nexus

转载 作者:行者123 更新时间:2023-11-29 13:57:49 25 4
gpt4 key购买 nike

我在 Android 4.0 上遇到菜单按钮问题。这是 list 中有趣的部分:

<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="13"/>

问题是模拟 Galaxy Nexus 的模拟器显示菜单按钮,但模拟平板电脑不显示菜单按钮。

根据 this ,它应该显示(并且它在 Galaxy Nexus 中)。

有人知道为什么它不显示在平板电脑上吗?我能做些什么来解决这个问题?

谢谢

最佳答案

来自链接的文档:

The only exception is that if you set minSdkVersion to 10 or lower, set targetSdkVersion to 11, 12, or 13, and you do not use ActionBar, the system will add the legacy overflow button when running your app on a handset with Android 4.0 or higher.

That exception might be a bit confusing, but it’s based on the belief that if you designed your app to support pre-Honeycomb handsets and Honeycomb tablets, it probably expects handset devices to include a Menu button (but it supports tablets that don’t have one).

因此系统假定您的应用适用于平板电脑,因为它针对 Honeycomb 而设置,但不适用于 ICS 手机。

关于android - ICS 平板电脑不显示菜单按钮,但它适用于 Galaxy Nexus,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11087333/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com