Jerikc XIONG
Jerikc XIONG

Reputation: 3607

Which res folder will be used in 1920*1080 in Android?

FHD(Full HD) is 1920*1080.

Which the res folder would be used in FHD and what's the dpi value should be set?

Upvotes: 2

Views: 18051

Answers (2)

Wenhui
Wenhui

Reputation: 658

The Smallest width is configured by manufacturer, so it may be varied. For instance, Nexus 7 and Kindle Fire HD both have 1280x800 screen resolution, but the smallest width of N7 is 600dp, while Kindle Fire HD is 533dp.

Here is a way to calculate this:

If 480x800 is mdpi(160) for 5 inch device, the screen dpi(screenDPI) of the device with resolution 1080X1920 is 160*(1080/480)=360 (NOTE: manufacturer might change this number). Then the smallestWidth = 1080/(screenDPI/160).

Use Configuration to find out all the information of the device.

Upvotes: 6

muchwow
muchwow

Reputation: 735

It depends on the screen size because a 7' screen with FHD will not have the same dpi as a 17' screen with FHD. to know DPI I use this calculator :

http://members.ping.de/~sven/dpi.html

and for the folders please try the actual google documentation it is pretty complete:

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

hope it helps!

Upvotes: 3

Related Questions