支持哪些 Android 应用分辨率?
我在 Android SDK 页面上看到,它提到了 Android 平台上期望的一些屏幕分辨率:
小屏幕
QVGA (240x320),2.6"-3.0" 对角线
普通屏幕
WQVGA (240x400),3.2"-3.5" 对角线 FWQVGA (240x432),3.5"-3.8" 对角线 HVGA (320x480),3.0"-3.5" 对角线 WVGA (480x800),3.3"-4.0" 对角线 FWVGA (480x854),3.5"-4.0" 对角线
大屏幕
WVGA (480x800),4.8"-5.5" 对角线 FWVGA (480x854),5.0"-5.8" 对角线
显然,在所有这些分辨率上测试您想要销售的应用程序将是一件痛苦的事情。有没有关于使用上述分辨率的 Android 手机百分比的数据?我希望只有 3 个左右受欢迎的解决方案......
I see on the Android SDK pages, it mentions some screen resolutions to expect on Android platforms:
Small screen
QVGA (240x320), 2.6"-3.0" diagonal
Normal screen
WQVGA (240x400), 3.2"-3.5" diagonal
FWQVGA (240x432), 3.5"-3.8" diagonal
HVGA (320x480), 3.0"-3.5" diagonal
WVGA (480x800), 3.3"-4.0" diagonal
FWVGA (480x854), 3.5"-4.0" diagonal
Large screen
WVGA (480x800), 4.8"-5.5" diagonal
FWVGA (480x854), 5.0"-5.8" diagonal
Obviously, testing an app you want to sell on all these resolutions is going to be a pain. Is there any data on what percent of android phones being used use the above resolutions? My hope is that there's only really 3 or so popular resolutions...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
最常见的屏幕尺寸是 320x480(G1、Hero)、480x800(Nexus One 和 Desire)和 480x854(Droid),几乎相同。如果您要使用第四个分辨率,则对于纹身之类的内容必须是 240x320。
也就是说,对于许多应用程序来说,不同的屏幕分辨率根本不重要。只要您使用与密度无关的像素、布局权重等进行编码,通常所有内容都会自动调整大小。如果您正在使用图形做某事,是的,这会更痛苦,因为您可能需要不同大小的图像文件。也就是说,Android 仍然会自动缩放许多东西。您读过支持多个屏幕吗?这是 Android 开发者网站上的一个有用链接,提供了一些有关如何处理这一切的最佳实践。
The most common screen sizes are 320x480 (G1, Hero), 480x800 (Nexus One and Desire) and 480x854 (Droid) which is nearly the same. If you're going with a 4th resolution, it'd have to be the 240x320 for things like the Tattoo.
That said, for many applications, different screen resolutions simply don't matter. As long as you code using density independent pixels, layout-weights and the like, normally everything will just resize itself automatically. If you're doing something with graphics, yes, it's more of a pain since you might need to have different size image files. That said, Android will still automatically auto-scale many things. Have you read Supporting Multiple Screens? It's a useful link from the Android Developers' site giving some best practices on how to handle it all.
以下是屏幕尺寸和密度的最新百分比细分 http://developer .android.com/resources/dashboard/screens.html。它可能对你有用。
Here is an up-to-date percentage breakdown of screen sizes and densities http://developer.android.com/resources/dashboard/screens.html. It might be useful for you.