不同安卓设备的像素密度数值

哎,不容易,翻墙找到国外的文章,总的来说就是如果要想支持高版本系统的安卓设备,那么在开发APP应用时就准备些清晰的图片放在res下面吧。

DPI概念不懂的请参考隔壁那篇文章介绍。

原文链接:http://blog.blundell-apps.com/list-of-android-devices-with-pixel-density-buckets/


This is my attempt at collating what device runs at what pixel density. I realise there are millions of devices so this list will start small and hopefully I’ll update it often whenever I come across a new device.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
Model                   | Android Version | Density
Advent Vega             |      2.2        |  mdpi
  
Asus Transformer Prime  |      4.0        |  hdpi
 
Freelander PD10         |      4.0        |  hdpi
 
Google Galaxy Nexus     |      4.0        |  xhdpi
Google Nexus One        |      2.3        |  hdpi
Google Nexus S          |      4.0        |  hdpi
Google Nexus 4          |      4.2        |  xhdpi
Google Nexus 7          |      4.1        |  tvdpi (but will scale down your hdpi assets)
Google Nexus 10         |      4.2        |  xhdpi (Launcher icon xxhdpi)
 
HTC Desire              |      2.2        |  hdpi
HTC Desire S            |      2.3        |  hdpi
HTC Desire X            |      4.0        |  hdpi
HTC Desire HD           |      2.3        |  hdpi
HTC Doubleshot          |      2.3        |  hdpi
HTC Glacier             |      2.3        |  hdpi
HTC Nexus One           |      2.3        |  hdpi
HTC Hero                |      2.1        |  mdpi
HTC Legend              |      2.1        |  mdpi
HTC Sensation           |      2.3        |  hdpi
HTC One S               |      4.0        |  hdpi
HTC One X               |      4.0        |  xhdpi
HTC One V               |      4.0        | hdpi
HTC Tattoo              |      1.6        |  ldpi
HTC Wildfire            |      2.1/2.2    |  mdpi
 
Huawei Blaze            |      2.3        |  mdpi
 
LG Nexus 4              |      4.2        |  xhdpi
LG Optimus S            |      2.2        |  mdpi
LG Optimus Sol          |      2.3        |  hdpi
LG Optimus One          |      2.2        |  mdpi
LG Optimus V            |      2.2        | mdpi
LG Optimus 3D           |      2.3        |  hdpi
 
Motorola Atrix          |      2.3        |  hdpi
Motorola Defy           |      2.3        |  hdpi
Motorola Defy Mini      |      2.3        |  mdpi
Motorola Droid          |      2.0-2.2    |  mdpi
Motorola Droid 3        |      2.3        | hdpi
Motorola Flipout        |      2.1        |  ldpi
Motorola Razr           |      2.3        |  hdpi
Motorola Xoom           |      3.1/4.0    |  mdpi
Motorola Xoom2          |      3.2        |  mdpi
 
Sony X10 Mini           |      2.1        |  ldpi
Sony X10i               |      2.3        |  hdpi
Sony Xperia Arc S       |      2.3        |  hdpi
Sony Xperia P           |      2.3        |  hdpi
Sony Xperia Play        |      2.3        |  hdpi
Sony Xperia Pro         |      4.0        |  hdpi
Sony Xperia S           |      2.3        |  xhdpi
Sony Xperia X8          |      2.1        |  mdpi
 
Samsung Epic 4G         |      2.2        |  hdpi
Samsung Galaxy Ace      |      2.2        |  mdpi
Samsung Galaxy S        |      2.3        |  hdpi
Samsung Galaxy S II     |      2.3        |  hdpi
Samsung Galaxy S III    |      4.0        |  xhdpi
Samsung Galaxy Tab 7"   |      2.2        |  hdpi
Samsung Galaxy Tab 10"  |      3.0        |  mdpi
Samsung Galaxy Tab 2 10"|      4.0        |  mdpi
Samsung Galaxy Nexus    |      4.0        |  xhdpi
Samsung Galaxy Note     |      2.3        |  xhdpi
Samsung Galaxy Note 2   |      4.1        |  xhdpi
Samsung Nexus 10        |      4.2        |  xhdpi
Samsung Nexus S         |      4.0        |  hdpi
 
ZTE Blade               |      2.3        |  hdpi
ZTE Libra               |      2.2        |  hdpi

Here is a sample project that shows in the top right corner what pixel density the device is running at.

ResBucket Eclipse Source Project

GitHub ResBucket Project

Screenie from app:

The app also shows the use of a Config file to show extra information when running in ‘non-live’ mode. You can see an example of switching that configuration here.

I recently found this from Motorola, if you find the device you want, click on it, then scroll down to where it says GENERALIZED PIXEL DENSITY it will say LOW MEDIUM HIGH for each device
Motorola Full Reference listhttp://developer.motorola.com/products/?num=all

Please comment with your device and bucket if you know it, I’ll gladly add it to the list and your name/website to the thanks.

I’d like to thank:

Tchami
Wanderer
Joris
Maksim
Willie
Ashik P
Wahree
BigBadSheep
Seb C
Project JourneyMan

Also Maksim has made this great csv file collaborating a hell of a lot of data on phone stats:
github/android-devices

Some background information on DPI:

Equating to:


ldpi ~120dpi.
mdpi ~160dpi)
hdpi ~240dpi.
xhdpi ~320dpi.

Screen Densities



  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值