Dip:device independent pixels (device independent pixels). Different devices have different display effects, this is related to the device hardware, generally we support WVGA, HVGA and QVGA recommend this, do not rely on pixels.
Px:pixels (pixels). Different devices show the same effect, generally we hvga represent 320x480 pixels, this use more.
Pt:point, is a standard length unit, 1pt=1/72 inches, for the printing industry, very simple to use;
mainly used for font display of best for textsize.
As a result, according to Google's advice,TextView's font size is best to use SP to do units , and view
TextView
The source shows that Android uses the SP as the font size unit by default.
Citation: http://zhidao.baidu.com/link?url=4Vh3086dimqAXsPj-loafMwhexoBHu5yfvCp4fHa3euVg4bF52NMJoEXLgj6KBf8meDTFvgd5GuzD8jM2FcP9q
android--display the difference between units px and dip and SP