How to change the application icon in Android
Most people do not understand the knowledge points of this article "how to change the application icon in Android", so the editor summarizes the following content, detailed content, clear steps, and has a certain reference value. I hope you can get something after reading this article. Let's take a look at this "how to change the application icon in Android" article.
The implementation method of changing the applied icon in Android App
In general, the App icon is set in Androidmanifest.xml and specified by the Application android:icon attribute, which is written as follows:
.... .
Due to the coming of the New year, the product needs to change an application icon for the latest version. OK, it can be done in one minute. As above, just replace the app_icon.png icon.
However, the test students found that after replacing the icons, the previous icons were still displayed on mobile phones such as Xiaomi 5, Huawei 6plus, Leeco 1s, Xiaomi 2s and Meizu MX5.
How to deal with tricks:
Reassign the new icon by applying the portal Activity android:icon property. At present, it has passed the test, and the test basically takes effect in time (except for some models with their own theme). It is written as follows:
.... .
Point to the new application icon through the entry Activity android:icon= "@ drawable/new_app_icon".
The above is about the content of this article on "how to change the application icon in Android". I believe we all have a certain understanding. I hope the content shared by the editor will be helpful to you. If you want to know more about the relevant knowledge, please follow the industry information channel.