0

正如标题所说,我的菜单项在 Android 模拟器中不再有图标。我正在使用 API 16 进行开发,最近下载了可用于 SDK 和 ARM 映像的更新。即使在删除并重新安装整个 Android SDK 之后,问题仍然存在。我知道这不是我自己的代码,因为我恢复到已知版本并且它也有同样的问题。相同的版本按预期在实际设备上运行。我之前也使用 API 7 在模拟器上运行了该应用程序,并且图标看起来很好。有谁知道这是否是最近更新的已知问题?

截屏:

在此处输入图像描述

以前,菜单项都出现在底部的一行中,图标在文本上方。

4

1 回答 1

2

As the title says, my menu items no longer have their icons in the Android emulator.

This is the way the overflow appears on Android 4.0+, for devices and emulators with an off-screen MENU button.

Even after removing and reinstalling the whole Android SDK, the issue persists.

It will persist on the tens of millions of Android 4.x devices as well, or at least those that have a MENU button. Devices sans MENU button will have a similar-looking drop-down menu, emanating from the ... affordance on the right side of their action bar.

The same version runs on an actual device as expected.

That actual device is not running Android 4.x, presumably.

Does anyone know if this is a known issue with the recent update?

If by "recent update" you mean the nearly-year-old release of Android 4.0, then yes.

于 2012-10-15T19:35:56.683 回答