Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
104 views
in Technique[技术] by (71.8m points)

java - How can I change an app icon in api 15 in Android Studio?

I made an app, and I want it to be compatible from api 15 up. I changed the icon and test the app in an android 9 and everything is fine, but when I test the app in an android 4 I can't see the new icon but a default icon instead. I tried with a NPG image and with XML version of the same image, but non of them seem to work.

<application
    android:allowBackup="true"
    android:icon="@mipmap/ic_launcher"
    android:label="@string/app_name"
    android:roundIcon="@drawable/ic_tones_w_dt"
    android:supportsRtl="true"
    android:theme="@style/AppTheme">

the ic_tones_w_dt is pointing to the NPG image. I would like to have some assistance in this issue. thanks in advance.

question from:https://stackoverflow.com/questions/65887433/how-can-i-change-an-app-icon-in-api-15-in-android-studio

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...