Launcher icon is changed but in recent apps still default icon i seen

我只是一个虾纸丫 提交于 2019-12-10 13:04:28

问题


I have changed the launcher icons in File -> New -> Image Asset and the icons are changed.

When I click on recent apps icon in it displays the default icon where as correct icon is shown in the main icon list.

Verified the Android manifest where application tag contain the icon tag and corresponding mipmap.

What's wrong here? I am using xiaomi note 4 mobile. Please help.


回答1:


The app icon in the app launcher should be updated, but the shortcuts won't be updated until the next refresh of the home-screen. There isn't much you can do that unfortunately, but the home-screen does refresh itself once in a while, so the new icon will eventually replace the old icon automatically.




回答2:


Reboot your phone and your icon will update in recent apps and notification.




回答3:


From Android Nougat, default launcher icon should be roundIcon. See this Reference

Maybe you should change your AndroidManifest for your application tag

 android:icon="@mipmap/ic_launcher"
 android:roundIcon="@mipmap/ic_launcher_round"


来源:https://stackoverflow.com/questions/45234620/launcher-icon-is-changed-but-in-recent-apps-still-default-icon-i-seen

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!