奇怪的 Android 模拟器行为 - 混合横向和水平视图
这应该是一个肖像视图......但它是一种混合视图。我尝试了很多皮肤,但没有任何帮助。我也尝试过使用风景皮肤,但它们的外观是一样的。
This suppose to be a portrait view.... but it is kind of a mixed view. I tried many skins and nothing helps. I also tried using landscape skins but they apper the same.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
(推动这个答案)
我已经在我的手机上的多个ROM(Eclair + Sense、Froyo + CyanogenMod、Gingerbread + AOSP(带和不带Cmod))下看到过这种情况,所以这可能不是模拟器中的错误;更有可能的是,这是基本系统库中的错误。我也偶尔看到它以错误的方向绘制状态栏,但其他一切都正确。不幸的是,我不知道该怎么办;通常它会在几次方向改变后自行纠正,但有一次我不得不重新启动。不过,在内存不足的情况下,这种情况似乎更有可能发生。
(promoting this to answer)
I've seen this happen on my phone under multiple ROMs (Eclair + Sense, Froyo + CyanogenMod, Gingerbread + AOSP (with and without Cmod)), so it's probably not a bug in the emulator; more likely it's a bug in the base system libraries. I've also occasionally seen it draw the status bar in the wrong orientation but everything else correctly. Unfortunately, I don't know what to do about it; usually it corrects itself after several orientation changes, but once I had to reboot. It seems to be more likely to happen in low memory situations, though.
我还没有解决它,但我只是尝试了 android SDK 示例库中的示例项目,它运行得很好。
几天后我会更多地了解 android 开发,我希望我能理解这里发生的事情......
I didn't solve it yet but I just tried a sample project from the android SDK samples library and it worked perfectlly.
In a few days I'll know more about android dev and I hope I'll understand what happened here...