不支持低于320x480分辨率的正确方法是什么

发布于 2024-12-14 22:52:25 字数 71 浏览 6 评论 0原文

我正在为我的应用程序创建布局,据我了解,上述屏幕分辨率是阈值分辨率,低于它的设备极其罕见或太便宜,我如何检测不符合此分辨率的设备

I am creating layouts for my app, and as I understand the above screen resolution is the threshold resolution and devices below it are extremely rare or too cheap, how can I detect a device which does not comply with this resolution

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

雾里花 2024-12-21 22:52:25

在清单文件中使用此元素
<屏幕 android:screenSize=["小" | “正常”| “大”| "xlarge"]

<compatible-screens>
 <screen android:screenSize="small"/>
 <screen android:screenSize="normal"/>
 <screen android:screenSize="large"/>
 <screen android:screenSize="xlarge"/>
</compatible-screens>

小屏幕至少为 426dp x 320dp

Use this element in the Manifest file
<screen android:screenSize=["small" | "normal" | "large" | "xlarge"]

<compatible-screens>
 <screen android:screenSize="small"/>
 <screen android:screenSize="normal"/>
 <screen android:screenSize="large"/>
 <screen android:screenSize="xlarge"/>
</compatible-screens>

small screens are at least 426dp x 320dp

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