gpt4 book ai didi

android - hdpi 和 large-hdpi 之间的区别?

转载 作者:行者123 更新时间:2023-11-29 21:52:02 26 4
gpt4 key购买 nike

有人知道 hdpi 和 large-hdpi 之间的区别吗?mdpi 和大 mdpi?大 mdpi 和 sw600dp?

http://developer.android.com/guide/practices/screens_support.html

谢谢。

最佳答案

来自 API 文档:

http://developer.android.com/guide/practices/screens_support.html

... two devices that both report a screen size of normal might have actual screen sizes and aspect ratios that are slightly different when measured by hand. Similarly, two devices that report a screen density of hdpi might have real pixel densities that are slightly different. Android makes these differences abstract to applications, so you can provide UI designed for the generalized sizes and densities and let the system handle any final adjustments as necessary.

另请注意(相同链接):

Beginning with Android 3.2 (API level 13), these size groups are deprecated in favor of a new technique for managing screen sizes based on the available screen width

这是“smallestWidth sw600dp”和 friend 进来的地方:

http://developer.android.com/guide/practices/screens_support.html#DeclaringTabletLayouts

主要问题是“Android API 如何能够以开发人员的最小努力来适应各种设备?”

'希望对你有帮助

关于android - hdpi 和 large-hdpi 之间的区别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14160535/

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