"Android Application Development technology: User Interface" Interface design easily confused concept summary

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.