Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Screen sizes of android design in pixels?

Tags:

android

dpi

As I found in android documentation site, the there are 4 general sizes for android devices screens. but I found the measurements unit in dp. like this :

xlarge screens are at least 960dp x 720dp
large screens are at least 640dp x 480dp
normal screens are at least 470dp x 320dp
small screens are at least 426dp x 320dp

How to do that on photoshop, how to get the sizes in pixels ? Do I need to have 4 design ldpi, mdpi, hdpi and xhdpi ? do I need to have 16 versions of the design. ?

like image 871
Adham Avatar asked Apr 01 '13 10:04

Adham


People also ask

What is the screen size of Android app design?

320dp: Typical phone screen (240x320 ldpi, 320x480 mdpi, 480x800 hdpi, etc.) 480dp: Large phone screen ~5" (480x800 mdpi) 600dp: 7” tablet (600x1024 mdpi) 720dp: 10” tablet (720x1280 mdpi, 800x1280 mdpi, etc.)

What is the average Android screen size?

Display Dynamics – January 2022: Average smartphone display size stays at 6.3 inches while the resolution can be potentially enhanced.

What screen size should I design for mobile?

360×640 – 12.98% For mobile screen sizes, 360 and 375 widths are considered to be the perfect match.


1 Answers

yes you have 4 designs like :

xhdpi = 100% image
hdpi = 75% image of xhdpi image
mdpi = 50% image of xhdpi image
ldpi = 50% image of hdpi image

i.e :

if you have 96 x 96 image in xhdpi then, you need to put

72 x 72 in hdpi folder - ( 75 % of xhdpi )
48 x 48 in mdpi folder - ( 50 % of xhdpi )
36 x 36 in ldpi folder - ( 50 % of hdpi )
like image 124
Ajay Avatar answered Sep 29 '22 06:09

Ajay