mdpi - Scaling ratio in Android 3:4:6:8 -


i understand scaling ratio xxhdpi?

ldpi = 3

mdpi = 4

hdpi = 6

xhdpi = 8

xxhdpi = ?

mdpi normal, or default. scale factor 1.0.

ldpi = 0.75
mdpi = 1.0
hdpi = 1.5
xhdpi = 2.0
xxhdpi = 3.0
xxxhdpi = 4.0

you can scale factor of current screen programmatically, so:

final displaymetrics metrics = resources.getsystem().getdisplaymetrics(); scale = metrics.density; 

Comments

Popular posts from this blog

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -