Android drawable folder description, androiddrawable

Source: Internet
Author: User

Android drawable folder description, androiddrawable

Some people will certainly be curious about the places where images are placed in android, such as drawable-hdpi, drawable-mdpi, and drawable-ldpi.

You will surely think about which one you can store, as long as it is in drawable under the res directory in android, and the system will find it on its own.

A friend with a heart will surely give him an answer. I used to know about drawable-hdpi, drawable-mdpi, and drawable-ldpi, but I did not really understand it, today, I have a deep understanding.

Drawable-hdpi: When you look at his word name, you must know that he is placing a high-resolution image, drawable-mdpi placing a medium-resolution image, and drawable-ldpi placing a low-resolution image.

Most people put the images in drawable-mdpi. At first, I thought it would be good to place any of the three images, but today I know.

When the resolution is lower than 480*800, placing the image in the drawable-mdpi will not affect the image, but when the resolution is 420*800 or higher than it will cause problems.

The screen on your mobile phone is so big but it will stretch the picture. When you load the picture, it makes you feel that the screen has no actual size, this problem does not exist if you place images in drawable-hdpi.

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.