I know this question is exactly the same than this question
Android notification icon color is not changed when background color is white
However I could not find any solution in the answers/comments of this question.
Thank you in advance for your help !
Use a mipmap icon instead of a drawable icon and put it in xxxhdpi-mipmap folder. The icon will automatically adjust its color if the background is white
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.