Differences between Android image resources drawable (hdpi, ldpi, mdpi)

Source: Internet
Author: User

In versions earlier than 2.1, there is only one drawable. In version 2.1, there are three types: drawable-mdpi, drawable-ldpi, and drawable-hdpi. These three types are mainly used to support multi-resolution.

Differences between drawable-hdpi, drawable-mdpi, and drawable-ldpi:

(1) The drawable-hdpi contains high-resolution images, such as WVGA (480x800) and fwvga (480X854)

(2) drawable-mdpi stores medium-resolution images, such as hvga (320x480)

(3) drawable-ldpi stores low-resolution images, such as qvga (240x320)

The system will find the corresponding images in these folders according to the machine resolution.

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.