在摩托罗拉 Atrix 上运行 Android 应用程序时,如何启用半屏尺寸的全屏视图?
问题是应用程序屏幕仅占用 Atrix 物理屏幕的一半
我尝试通过添加代码(如下所示)来解决该问题,但没有帮助;
android:fitsSystemWindows="true"
android:minHeight="960dp"
android:minWidth="540dp"
有什么建议吗?
Possible Duplicate:
Android application built when installed on atrix phone uses only part of screen
The issue is that the application screen only took up only half of the Atrix's physical screen
I have tried resolving it by adding the codes (shown below) but to no help;
android:fitsSystemWindows="true"
android:minHeight="960dp"
android:minWidth="540dp"
any advise?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当 AndroidManifest.xml 中的 android:minSdkVersion 设置为 3 时,我遇到了这个问题。
当我将其设置为高于 3 的值时,它会使用整个屏幕。例如:
I had this problem when the android:minSdkVersion was set to 3 in the AndroidManifest.xml
When I set it to something higher than 3, it used the whole screen. For example: