Sunday, March 16, 2014

Dimension Unit Measurements Supported in Android

Pixels px
Actual screen pixels

Inches in
Physical measurement

Millimeters mm
Physical measurement

Points pt
Common font measurement unit

Screen density independent pixels dp
Pixels relative to 160dpi screen(Preferable for dimension screen compatibility)

Scale-independent pixels sp
Best for scalable font display