I. Overview of UI interface
UI, a very important part of the user interface for an app, is the face of the app, and the user's first impression of the app comes from the interface, so it's hard to retain users without a perfect user interface.
A good user interface will greatly improve the user's desire to use and maintain customer loyalty, like a connotation of the girl with a beautiful face, this will let many gentlemen remember.
All UI components are called view, generally divided into two categories: 1, the component used to display the data 2, the component to hold the component
Second, the data units used in Android
1. PX: Corresponds to the actual pixel point on the screen
2, in: Screen physical length units
3, MM: screen physical length unit
4, PT: Screen physical length unit, 1/72 inch
5, DP (density independent pixels): logical length unit, on 160dpi screen, 1dp=1px=1/160 inch. As the density changes, the corresponding number of pixels also changes, but there is no direct change in proportion
6, dip: Same as DP, more used in Google samples
7. SP (pixels independent of density and font scaling): Similar to DP, but can be scaled based on the user's font size preference.
Android_ user interface overview and data units