Android resolution details

Source: Internet
Author: User

Differences between drawable-hdpi, drawable-mdpi, and drawable-ldpi: In Versions later than Android2.1, there will be three directories: drawable-mdpi, drawable-ldpi, and drawable-hdpi, these three directories are mainly used to support multi-resolution. Dpi is the abbreviation of "dot per inch". The number of dots per inch. Four types of density classification: ldpi (low), mdpi (medium), hdpi (high), and xhdpi (extra high) General screen: ldpi is 120, mdpi is 160, hdpi is 240, and xhdpi is 320. The difference between WVGA, HVGA, and QVGA is that the VGA is "Video Graphics Array", and the display standard is 640*480. WVGA (Wide VGA) Resolution is 480*800 HVGA (Half VGA), that is, Half of VGA resolution is 320*480 QVGA (Quarter VGA) that is, VGA's non-1/4 resolution is 240*320 drawable-(hdpi, mdpi, ldpi) and WVGA, HVGA, QVGA contact xhdpi is Android 2.2 before it began to increase the category xlarge is Android 2.3 before it began to increase the category hdpi mainly put high-resolution images, such as WVGA (480x800 ), FWVGA (480X854) aspect ratio: mdpi mainly contains medium-resolution images, such as HVGA (320x480) aspect ratio: ldpi mainly contains low-resolution images, for example, the QVGA (240x320) aspect ratio is. The system will find the corresponding images in these folders Based on the machine resolution. To be compatible with different screens on different platforms during development, we can crop the image with a aspect ratio, make sure there is sufficient resolution, and put it in the corresponding directory.

Related Article

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.