I am using the DayNight theme in my app. I know that most of the values can be modified to support this by using the "-night" tag ( like, drawables-night and colors-night). I tried the same for mipmap (mipmap-night) and it did not work. Is there a different way to handle app icons for DayNight theme? I am trying to make app icon change as the app theme changes.
Asked
Active
Viewed 939 times
5
-
I think, you can put your icons in `drawable` folder instead of `mipmap` – Alexander Tumanin Sep 22 '16 at 15:10
-
`mipmap` is only to be used for the app launcher icon. – Phantômaxx Sep 22 '16 at 15:13
-
@AlexanderTumanin I will try that as my last choice. Because, when I use drawable app icons, they scale pretty differently on different launchers. – Aakaash Jois Sep 22 '16 at 15:18
-
@Rotwang Exactly what I am trying to achieve. As my app has DayNight theme, I figured I could provide different app icons as well for Day and Night so that it matches the app theme. – Aakaash Jois Sep 22 '16 at 15:18
-
I mean you don't need to change your icons to drawable. Just move your png icons to `drawable` and `drawable-night` folders – Alexander Tumanin Sep 22 '16 at 15:21
-
Moved everything to `drawable` and `drawable-night`. It still just loads the items in `drawable` and ignores the items in `drawable-night` irrespective of the app theme. Even when the launcher is set to Night Mode (tried in Nova), the night specific icons are ignored. I guess Android does not support changing icons based on the theme. – Aakaash Jois Sep 22 '16 at 15:46