Windows 7 下 Android 3.0 (Honeycomb) 模拟器缺少操作栏
标题几乎说明了一切:我终于更新了我的 Lenovo Win7 机器,以拥有为 Honeycomb 构建的工具、平台工具和 SDK 支持,但当我启动模拟器时,我看不到操作栏。
哦,我仔细检查了:我确实有
(我知道是多余的)在 AndroidManifest.xml 中。
阅读http://developer.android.com/guide/topics/ui/actionbar。 html 让我觉得这应该足够了,即使是一个简单的“Hello,World”应用程序也应该显示出来。但事实并非如此。就此而言,其他任何按钮也没有:我所拥有的只是一个巨大的屏幕,上面有六边形平铺平面的渐变显示(显然意味着看起来像蜂窝)、一个谷歌搜索小部件、一个“应用程序”按钮,以及一个“+”号(我假设这六个小矩形是“应用程序”按钮的一部分,但也许它们是用于更改主屏幕?也许这就是主屏幕应用程序的操作栏的外观?)
The title pretty much says it all: I finally got my Lenovo Win7 machine updated to have the tools, platform tools and SDK support to build for Honeycomb, yet when I launch the emulator, I see no Action Bar.
Oh, and I did double check: I do have <uses-sdk android:minSdkVersion="11" android:targetSdkVersion="11"/>
(redundant, I know) in AndroidManifest.xml.
Reading http://developer.android.com/guide/topics/ui/actionbar.html leaves me thinking that should be enough, it should show up even for a simple "Hello, World" app. Yet it does not. For that matter, neither do any other buttons: all I have is a huge screen with a gradient display of hexagonal tiling of the plane (obviously meant to look like a honeycomb), a Google search widget, a button for 'Apps', and a '+' sign (I am assuming the six tiny rectangles ar epart of the Apps button, but maybe they are for changing home screen? Maybe that IS the appearance of the Action Bar for the home screen app?)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您正在查看主屏幕。那不是你的应用程序。主屏幕没有操作栏,至少与常规应用程序的风格不同。
You are looking at the home screen. That is not your application. The home screen does not have an action bar, at least not of the same style as you get in regular apps.