The Android drawable folder corresponds to pixel density

Source: Internet
Author: User

Android is self-adapting to screen size and density. Android provides the following folders to store image resources in order to ensure app interface effects on different screens. Different folders correspond to different pixel density picture resources

DRAWABLE-LDPI:120DPI around the screen (low density)

Drawable-mdpi:160dpi or so screen (medium density)

The drawable-tvdpi:213dpi screen (medium high density) is introduced primarily in api13 to optimize TV-oriented applications.

DRAWABLE-HDPI:240DPI around the screen (high density)

DRAWABLE-XDPI:320DPI around the screen (ultra-high density)

DRAWABLE-NODPI: Regardless of screen density. Resources that are not scalable

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.