Transduction standards for programmers and ui--android

Source: Internet
Author: User

I've always been asked how Android transduction, how it fits, not just Android peers, but also a lot of novice UI designers.

So I wrote an article, according to our usual development experience, simple introduction.

If the UI designer is drawing 1920*1080 as a benchmark, then the directly cut-out diagram can be placed in the Xxh folder.
If the UI designer is drawing 1280*70 as a benchmark, then the directly cut-out diagram can be placed in the XH folder. --------
For Android's four folders
XXH is the corresponding 1920*1080 resolution of the phone XH is corresponding 1280*720 h is corresponding 960*540 800*480 854*480 etc.
M is the corresponding 480*320
L is the corresponding 240x320

Low:medium:high:extra-high:extra-extra-high=3:4:6:8:12

That is ldpi:mdpi:hdpi:xhdpi:xxhdpi=3:4:6:8:12 for example, for medium density (mdpi) screen your picture pixel size is 48x48, then the low density (ldpi) screen picture size should be 36x36, high (hdpi) is 72x72,xhdpi for 96x96,xxhdpi bit 144x144
Follow this ratio to cut the graph.
So the L resolution is basically no longer cut diagram, the current market is basically no such a small screen mobile phone.

Transduction standards for programmers and ui--android

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.