Basics (1, screen fit)

Source: Internet
Author: User

    • Basic terminology
      • Screen Size: The diagonal length of the actual phone's main screen, such as iphone 4.7 inch;
      • Resolution: With the computer monitor resolution, such as 1334x750 pixels;
      • Pixel density (DPI pixels per inch): Compresses the resolution to the screen size, such as the 1334/phone length, such as more than 326 pixels per inch, becomes "retina"
      • Dip: device independent pixels, is a logical density calculated value, with a screen density of 160 mobile phone as standard;dip/pixels =dpi value /160
    • Android screen adaptation
      • DRAWABLE-LDPI (dpi=120, density=0.75)

      • DRAWABLE-MDPI (dpi=160, Density=1)

      • DRAWABLE-TVDPI (dpi=213,density=1.33)
      • DRAWABLE-HDPI (dpi=240, density=1.5)

      • DRAWABLE-XHDPI (dpi=320, density=2) //Usually only select this class

      • DRAWABLE-XXHDPI (dpi=480, density=3)

Provides layout for different screen pixels

Basics (1, screen fit)

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.