在摩托罗拉 Atrix 上运行 Android 应用程序时,如何启用半屏尺寸的全屏视图?

发布于 2024-12-09 17:23:31 字数 440 浏览 5 评论 0原文

可能的重复:
安装时构建的 Android 应用程序atrix 手机仅使用部分屏幕

问题是应用程序屏幕仅占用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

梦中楼上月下 2024-12-16 17:23:31

当 AndroidManifest.xml 中的 android:minSdkVersion 设置为 3 时,我遇到了这个问题。

<uses-sdk android:minSdkVersion="3" />

当我将其设置为高于 3 的值时,它会使用整个屏幕。例如:

<uses-sdk android:minSdkVersion="8" />

I had this problem when the android:minSdkVersion was set to 3 in the AndroidManifest.xml

<uses-sdk android:minSdkVersion="3" />

When I set it to something higher than 3, it used the whole screen. For example:

<uses-sdk android:minSdkVersion="8" />
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文