Android8.0 fit one application icon adaptation

Source: Internet
Author: User
1. Adaptation conditions

Target is below 26 and does not need to be adapted.
If set target=26 and above , do not fit in 8.0, will be displayed as a circle surrounded by the logo, not good-looking.

2, Android 8.0 application icon Adaptation principle:

Application icons are divided into 2 layers: foreground layer (logo layer) and background layer (only colors and textures can be defined and shapes cannot be defined)
The last 8.0 system adds a mask layer to it (currently known as The Circle mask)

3. How to Fit

Android Studio3.0 has done 8.0 app icons for us, if your as version is low, upgrade quickly.
Mainly look at the mipmap-anydpi-v26 directory, it will have an XML file, is our logo image file. So how is it generated?
Action:ctrl+shift+a Enter image Asset, open the Asset Studio editor and edit our logo image.

Reference from: Http://mp.weixin.qq.com/s/WxgHJ1stBjokPi6lTUd1Mg

Android8.0 fit one application icon adaptation

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.