布局验证和显示系统UI不同的屏幕是不同的

发布于 2025-01-29 19:05:35 字数 279 浏览 0 评论 0原文

我在Android Studio制作了屏幕。当我运行它时,我不明白这三个屏幕是不同的。我应该根据屏幕制作什么?

在此处输入映像

这是Show Syste System UI版本

​“ nofollow noreferrer”>在这里输入图像说明

这是NOX版本

I made a screen at the Android studio. When I ran it, I couldn't understand that these three screens were different. What should I make the screen according to?

enter image description here

this is show System Ui version

enter image description here

this is Layout Validation version

enter image description here

this is Nox version

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

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

发布评论

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

评论(2

远昼 2025-02-05 19:05:35

ImageView在某些设备上具有这样的行为,因此,如果您的映像是向量类型,请尝试使用app:srccompat =“@dr​​awable/my_image”而不是android:src =“@dr​​awable/drawable/ my_image”

ImageView has such behavior on some devices, so if your image is a vector type, try by using app:srcCompat="@drawable/my_image" instead of android:src="@drawable/my_image".

旧时浪漫 2025-02-05 19:05:35

请分享您的布局XML代码,以便更多地澄清限制,此外,您还必须使用“ app:srccompat =” @drawable/my_image”来加载图像。@whateve

please share your layout XML code for more clarification on constraints also for the app compact image view, you have to use "app:srcCompat="@drawable/my_image" to load the image. @Whateve

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