Sei sulla pagina 1di 4

320dp: a typical phone screen (240320 ldpi,320480 mdpi,480800 hdpi, etc).480dp: a tweener tablet like the Streak(480800 mdpi).

600dp: a 7
tablet (6001024 mdpi).720dp: a 10 tablet (7201280 mdpi,8001280 mdpi, etc).
Some times developers use this to make more than one layout:
res/layout/main_activity.xml # For handsets (smaller than 600dp available width)
res/layoutsw600dp/main_activity.xml # For 7 tablets (600dp wide and bigger)
res/layoutsw720dp/main_activity.xml # For 10 tablets (720dp wide and bigger)

The success of Android as a mobile device Operating System (OS) has resulted in a large variety of screen sizes and resolutio ns. Here is provided a list of
example devices to show that variation.

In the following table we try to show each and every resolution for Android Devices . As such the width in pixels is the X-axis and the length or height in
pixels is the Y-axis. Obviously that swaps when the device is held in landscape orientation. Android has support for both orientations so that a correctly
programmed App will work no matter which way you hold the device. The total number of pixels in a screen is the number in the x-axis multiplied by the
number in the y-axis. The more pixels for each square inch (or centimetre) of display the sharper any images will be displayed (provided those images are
at a high resolution).
The Size column next to each device is the diagonal measurement for the device screen in inches. This table illustrates that screens with the same
resolution can be different sizes.

Device Inches ResolutionPX Density OR Acronym DPI ResolutionDP AspectRatios




Galaxy Y 320 x 240 ldpi 0.75 120 427 x 320 4:3 1.3333
? 400 x 240 ldpi 0.75 120 533 x 320 5:3 1.6667
? 432 x 240 ldpi 0.75 120 576 x 320 9:5 1.8000
Galaxy Ace 480 x 320 mdpi 1 160 480 x 320 3:2 1.5000
Nexus S 800 x 480 hdpi 1.5 240 533 x 320 5:3 1.6667
Galaxy SIII Mini 800 x 480 hdpi 1.5 240 533 x 320 5:3 1.6667
? 854 x 480 hdpi 1.5 240 569 x 320 427:240 1.7792
Galaxy SIII 1280 x 720 xhdpi 2 320 640 x 360 16:9 1.7778
Galaxy Nexus 1280 x 720 xhdpi 2 320 640 x 360 16:9 1.7778
HTC One X 4.7 1280 x 720 xhdpi 2 320 640 x 360 16:9 1.7778
Nexus 5 5 1920 x 1080 xxhdpi 3 480 640 x 360 16:9 1.7778
Galaxy S4 5 1920 x 1080 xxhdpi 3 480 640 x 360 16:9 1.7778
HTC One 5 1920 x 1080 xxhdpi 3 480 640 x 360 16:9 1.7778
Galaxy Note III 5.7 1920 x 1080 xxhdpi 3 480 640 x 360 16:9 1.7778
HTC One Max 5.9 1920 x 1080 xxhdpi 3 480 640 x 360 16:9 1.7778
Galaxy Note II 5.6 1280 x 720 xhdpi 2 320 640 x 360 16:9 1.7778
Nexus 4 4.4 1200 x 768 xhdpi 2 320 600 x 384 25:16 1.5625


Device Inches ResolutionPX Density DPI ResolutionDP AspectRatios


? 800 x 480 mdpi 1 160 800 x 480 5:3 1.6667
? 854 x 480 mdpi 1 160 854 x 480 427:240 1.7792
Galaxy Mega 6.3 1280 x 720 hdpi 1.5 240 853 x 480 16:9 1.7778
Kindle Fire HD 7 1280 x 800 hdpi 1.5 240 853 x 533 8:5 1.6000
Galaxy Mega 5.8 960 x 540 tvdpi 1.33333 213.333 720 x 405 16:9 1.7778
Sony Xperia Z Ultra 6.4 1920 x 1080 xhdpi 2 320 960 x 540 16:9 1.7778
Kindle Fire (1st & 2nd
gen) 7 1024 x 600 mdpi 1 160 1024 x 600 128:75 1.7067
Tesco Hudl 7 1400 x 900 hdpi 1.5 240 933 x 600 14:9 1.5556
Nexus 7 (1st gen/2012) 7 1280 x 800 tvdpi 1.33333 213.333 960 x 600 8:5 1.6000
Nexus 7 (2nd gen/2013) 7 1824 x 1200 xhdpi 2 320 912 x 600 38:25 1.5200
Kindle Fire HDX 7 1920 x 1200 xhdpi 2 320 960 x 600 8:5 1.6000
? 800 x 480 ldpi 0.75 120 1067 x 640 5:3 1.6667
? 854 x 480 ldpi 0.75 120 1139 x 640 427:240 1.7792
Kindle Fire HD 8.9 1920 x 1200 hdpi 1.5 240 1280 x 800 8:5 1.6000
Kindle Fire HDX 8.9 2560 x 1600 xhdpi 2 320 1280 x 800 8:5 1.6000
Galaxy Tab 2 10 1280 x 800 mdpi 1 160 1280 x 800 8:5 1.6000
Galaxy Tab 3 10 1280 x 800 mdpi 1 160 1280 x 800 8:5 1.6000
ASUS Transformer 10 1280 x 800 mdpi 1 160 1280 x 800 8:5 1.6000
ASUS Transformer 2 10 1920 x 1200 hdpi 1.5 240 1280 x 800 8:5 1.6000
Nexus 10 10 2560 x 1600 xhdpi 2 320 1280 x 800 8:5 1.6000
Galaxy Note 10.1 10 2560 x 1600 xhdpi 2 320 1280 x 800 8:5 1.6000
Dell Aero 3.5 360 X 640 nHD
Motorola Pro+ MB632 3.1 480 X 640 VGA


Device Inches ResolutionPX Density DPI ResolutionDP AspectRatios

Potrebbero piacerti anche