Guo Xiaoxing
Weibo: Guo Xiaoxing's Sina Weibo
Email:[email protected]
Blog: http://blog.csdn.net/allenwells
Github:https://github.com/allenwells
"Android App Development technology: User Interface" chapter list one px, DP, SP
- PX: pixels, each px corresponds to a point on the screen.
- DP: A device-independent pixel, an abstract unit based on screen density, on a display of 160 dots per inch: 1 DP = 1 px.
- SP: proportional pixels, primarily used to handle font sizes, can be scaled based on user font size preferences.
- In: That is, inches, standard length units.
- MM: MM, standard length unit.
- PT: points, standard length units, 1 lbs = 1/72 inches.
Two margin, padding
- MarginTop: The control itself is left white above the control.
- Paddingtop: The content in the control is left white above the space.
Copyright NOTICE: When we seriously to do one thing, we can find the endless fun, colorful technology like the scenery on the road, while walking to appreciate.
"Android Application Development technology: User Interface" Interface design easily confused concept summary