简体   繁体   English

对于不同的屏幕,dp中的Android屏幕尺寸是多少(例如xlarge = 960dp x 720dp)?

[英]What are Android different screens dimensions in dp for different screens (e.g. xlarge = 960dp x 720dp)?

In Range of screens supported , the Android team mentioned that: 支持的屏幕范围内 ,Android团队提到:

As you design your UI for different screen sizes, you'll discover that each design requires a minimum amount of space. 在为不同的屏幕尺寸设计UI时,您会发现每个设计都需要最少的空间。 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. 这些最小尺寸以“dp”为单位 - 与定义布局时应使用的单位相同 - 这使系统可以避免担心屏幕密度的变化。

  • xlarge screens are at least 960dp x 720dp xlarge屏幕至少为960dp x 720dp
  • large screens are at least 640dp x 480dp 大屏幕至少640dp x 480dp
  • normal screens are at least 470dp x 320dp 正常屏幕至少为470dp x 320dp
  • small screens are at least 426dp x 320dp 小屏幕至少为426dp x 320dp

So, If I want to support all Android screens: 所以,如果我想支持所有Android屏幕:

  1. Can I create images, for full screen view, in those dimensions and that will be sufficient condition to support all available screens? 我可以在这些尺寸中创建用于全屏视图的图像,这是否足以支持所有可用屏幕?
  2. Or they are just the minimum sizes, and I need other dimensions? 或者它们只是最小尺寸,我需要其他尺寸?
  3. If other dimensions are needed, what are they? 如果需要其他尺寸,它们是什么? in other way, what are the dimensions I should ask the graphics designer to provide me with? 换句话说,我应该让图形设计师为我提供哪些尺寸?

Thanks in advance. 提前致谢。

They are just the minimum sizes. 它们只是最小尺寸。 Manufacturers can make screen with any size they want, theoretically. 制造商可以在理论上制作他们想要的任何尺寸的屏幕。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM