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
Post a Comment