是否有哪些设备具有抽象 dpi 和屏幕尺寸的列表?
据我了解,设备的匹配 dpi 和尺寸限定符不是基于实际的屏幕属性(物理 dpi 和尺寸),而是基于设备制造商预定义的内容。
是否有不同设备的抽象 dpi/尺寸列表?
As I understand, the matching dpi and size qualifiers for the device are based not on actual screen properties (physical dpi and size), but instead on what was predefined by the device manufacturer.
Is there a list of what abstract dpi/sizes are for different devices?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(7)
我认为这其中存在一些误会。这并不是一场免费的比赛,制造商可以选择他们想要的任何东西。确实,他们在选择密度方面有一定的灵活性,但不是很多——最终密度与物理屏幕分辨率相结合明确地产生了屏幕桶,并且映射发生的方式由平台指定。此外,所选择的密度几乎总是您所期望的设备实际 DPI。制造商可能会通过提高密度来推动这一点——这会导致屏幕上的用户界面更大,并且可能会降低屏幕尺寸——但这种情况极为罕见。
所以。 320x240的屏幕只能是小尺寸低密度屏幕。没有别的了。
具有 480x320 屏幕的设备通常是正常尺寸的中等密度。
具有 480x800(或 x852)屏幕的设备在绝大多数情况下都是正常尺寸的高密度。有一些罕见的设备具有 480x800 大屏幕,例如 Dell Streak - 这些是中等密度屏幕和大水桶。你可以看出设备是这样的,因为……嗯,它有一个大屏幕。 :}
配备 qHD 屏幕的设备无法达到 xhdpi 存储桶(尝试一下,您最终会得到一个太小而无法兼容的屏幕),因此这些设备仍然是高密度,并且它们也仍然是正常尺寸,因为它们不是不够大,无法放入大桶中。换句话说,这只是另一个具有更多布局空间的手机屏幕。
您看到的 10 英寸平板电脑的分辨率为 1280x800 或 1280x720。这些是 mdpi 屏幕,位于 xlarge 桶中。Android
3.2 支持 7 英寸屏幕,通常为 1024x720 mdpi。这些最终会进入大尺寸的桶中。
当然,您可以想象到许多其他屏幕,但我不知道哪些设备附带它们,并且考虑到我们已经涵盖了小型、普通、大型和超大屏幕,因此它们确实没有什么太有趣的。例如,640x480 手机尺寸的屏幕将是 hdpi 密度和小屏幕桶。
I think there is some misunderstanding. This isn't a free-for-all where manufacturers can pick whatever they want. It is true that they have some flexibility in picking the density, but not a lot -- ultimately the density combined with the physical screen resolution explicitly results in a screen bucket and the way that mapping happens is specified by the platform. Also, the density selected is almost always going to be what you would expect give the actual DPI of the device. A manufacturer may push that with going to a higher density -- this results in a larger UI on the screen and likely a move down to a lower screen size bucket -- but this is extremely rare.
So. A 320x240 screen can only be a small size low density screen. Nothing else.
Devices with 480x320 screens are universally normal size medium density.
Devices with 480x800 (or x852) screens are the vast majority of the time a normal size high density. There are some rare devices with a large 480x800 screen like the Dell Streak -- these are a medium density screen and large bucket. You can tell a device is like this because... well, it has a large screen. :}
The devices shipping with qHD screens can't go up to the xhdpi bucket (try it, you end up with a screen too small to be compatible), so these are still high density and they are also still normal size because they aren't sufficiently large to be in the large bucket. In other words, this is just another phone screen with a little more space for layout.
The 10" tablets you see are 1280x800 or 1280x720. These are mdpi screens, and in the xlarge bucket.
Android 3.2 is supporting 7" screens which are generally 1024x720 mdpi. These end up in the large size bucket.
There are of course many other screens you can imagine, but I don't know off-hand of devices shipping with them and given that we have already covered small, normal, large, and xlarge there is really nothing too interesting about them. For example a 640x480 phone size screen would be hdpi density and small screen bucket.
看看这个页面:维基百科:按像素密度列出的显示器列表
AFAIK,大多数时候,dpi 和 ppi 是相同,接下来它推广到 HDPI/MDPI/LDPI (请参阅 Android屏幕范围)。
只有极少数的例外情况。
Take a look at this page : Wikipedia : List of displays by pixel density
AFAIK, most of the time, dpi and ppi are the same, and it next generalized to HDPI/MDPI/LDPI ( see Android screen ranges ).
There are just a very little number of exceptions.
我发现这很有帮助,因为它特定于 Android: http://en.wikipedia.org/ wiki/Comparison_of_Android_devices
I've found this to be helpful as it is specific to Android: http://en.wikipedia.org/wiki/Comparison_of_Android_devices
自最新的 I/O 2015 以来,这里是您可以使用的列表
https://www.google.com/design/tool/devices/
Since latest I/O 2015 here is the list that you can use
https://www.google.com/design/tool/devices/
尺寸数据来自 Wikipedia,为了更好地了解像素密度,请查看 Teehan+Lax 撰写的这篇精彩文章。
屏幕尺寸
The size data comes from Wikipedia, and for a better understanding of Pixel Density, check out this great post by Teehan+Lax.
Screen Sizes
我在 Android 开发者上找到了这个答案。
I found this answer on Android Developers.
以下是具有各自 DIP 存储桶的设备列表。它远非官方或完整,但它是迄今为止我发现的最大来源:
https://web.archive.org/web/20161013013555/http://blog.blundell-apps.com/list-of-android-devices-with-pixel-密度-buckets/
谢谢致@Blundell 在评论中列出它。
Here is a list of devices with their respective DIP buckets. It's far from official or complete, but it's the largest source I have found so far:
https://web.archive.org/web/20161013013555/http://blog.blundell-apps.com/list-of-android-devices-with-pixel-density-buckets/
Thanks to @Blundell for listing it in the comments.