Display units in Android
PX (pixels) pixels
The general HVGA represents 320x480 pixels, which is used more often.
Dip or DP (device independent pixels) devices independent pixels
This is related to device hardware, which is generally recommended to support WVGA, HVGA, and QVGA, and does not depend on pixels.
SP (scaled pixels-best for text size) proportional pixels
The main processing font size, can be based on the font of the system adaptive.
In addition to the above three display units, there are several less commonly used:
In (inches) inches
MM (millimeters) mm
PT (points) point, 1/72 Inch
In order to accommodate different resolutions, different pixel densities, recommended layouts using DIP, text using SP.
This site article is for baby bus SD. Team Original, reproduced must be clearly noted: (the author's official website: Baby bus )
Reprinted from "Baby bus Superdo Team" original link: http://www.cnblogs.com/superdo/p/4643597.html
[Android Basics] Display units in 008.Android