gpt4 book ai didi

android - 不同屏幕的 Android 不同屏幕尺寸是多少(例如 xlarge = 960dp x 720dp)?

转载 作者:太空宇宙 更新时间:2023-11-03 11:18:29 25 4
gpt4 key购买 nike

Range of screens supported ,Android 团队提到:

As you design your UI for different screen sizes, you'll discover that each design requires a minimum amount of space. So, each generalized screen size above has an associated minimum resolution that's defined by the system. These minimum sizes are in "dp" units—the same units you should use when defining your layouts—which allows the system to avoid worrying about changes in screen density.

  • xlarge screens are at least 960dp x 720dp
  • large screens are at least 640dp x 480dp
  • normal screens are at least 470dp x 320dp
  • small screens are at least 426dp x 320dp

所以,如果我想支持所有 Android 屏幕:

  1. 我能否在这些尺寸中创建用于全屏 View 的图像,并且足以支持所有可用屏幕?
  2. 或者它们只是最小尺寸,我需要其他尺寸?
  3. 如果需要其他维度,它们是什么?换句话说,我应该要求图形设计师提供给我的尺寸是多少?

提前致谢。

最佳答案

它们只是最小尺寸。理论上,制造商可以制造他们想要的任何尺寸的屏幕。

关于android - 不同屏幕的 Android 不同屏幕尺寸是多少(例如 xlarge = 960dp x 720dp)?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12996991/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com