


Android: Incorrect size for views with mm or inch ...
Mar 28, 2014· When using mm/in you have to be careful about "broken" devices that reports wrong values for xdpi / ydpi. One way to work around it could be to use mm or inch for devices where DisplayMetrics.xdpi / DisplayMetrics.densityDpi is larger than 0.8 but smaller than 1.2 and stick with dp for other devices since devices with that big difference ...
