Looks for use of the mm
or in
dimensions
Avoid using mm
(millimeters) or in
(inches) as the unit for dimensions.
While it should work in principle, unfortunately many devices do not report the correct true physical density, which means that the dimension calculations won't work correctly. You are better off using dp
(and for font sizes, sp
.)