How eclipse replaces the Android app icon

Source: Internet
Author: User

Open your project

We saw res in the project. This folder has the following folders.

DRAWABLE-HDPI-------High resolution

DRAWABLE-LDPI-------Medium Resolution

DRAWABLE-MDPI-------Low resolution

drawable-xhdpi------at least 960*720

DRAWABLE-XXHDPI---1280*720

Replace the picture on the inside.

According to the actual demand.

Next: See the Androidmanifest.xml in the root directory of the project to see the following Red font

<application

Android:allowbackup= "true"
android:icon= "@drawable/ic_launcher"
Android:label= "@string/app_name"
Android:theme= "@style/apptheme" >

...........

This red font is the name of the image, which is changed to the name of your image, if it is in PNG format.

See right Red Line: Ic_launcher This is the name of the picture suffix named png

Here's the result:

Summary is a sentence: To find a picture is a PNG suffix name and rename him to Ic_launcher.png, put it on it!

How eclipse replaces the Android app icon

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.