Why does SugarORM contain the default ic_launcher.png icons? They are merged with my own ic_launcher.png and I don't want that
See original GitHub issueSome background:
Using SugarORM in my app and currently I have designed a single app launcher icon that I have named “ic_launcher.png” and put in my app’s /drawable folder. I’d like to use that icon globally throughout my app for all device resolutions so I removed ic_launcher.png from the other drawable folders.
However, SugarORM also includes the default ic_launcher.png in all of it’s drawable folders and since I am using SugarORM in the <application>
tag, those are merged with my designed icon and device resolutions for which I have not provided ic_launcher use the one coming from the SugarORM folder.
One way to overcome this is to rename my custom designed icon something different than ic_launcher and put the new name in android:icon but I think most people that use SugarORM will just go for the default configuration and not even notice the merged ic_launcher drawable.
I think that in the future we should either remove this launcher icon from the SugarORM library or rename or just leave it in the default /drawable folder (no drawable-hdpi, etc).
Issue Analytics
- State:
- Created 9 years ago
- Comments:28
Just use tools:replace=“android:icon” in manifest.xml
Its works for me, no need to move ic_launcher.
thanks @masoomyf work for me.