状态栏上的通知图标将变为白色框 [英] Notification icon on status bar is coming as white box
问题描述
如何在运行Android 5.0的手机中自定义状态栏上的通知图标.它总是以白色框(附有图片)的形式出现.
How do i customize the notification icon on the status bar in my phone running Android 5.0. It always comes as a white box(image attached).
通知栏中的通知图标会像预期的那样变为彩色,但状态栏图标为白色方框. l
The notification icon in the notification bar comes colorful as expected but the status bar icon comes as white square box.l
推荐答案
android 5.0使用您给他的图标,并在其上放置滤色器.如果要查看图标,则必须使用透明图标(png).我建议您设置除应用程序图标以外的其他图标,并删除带有圆角边框的矩形.
android 5.0 uses the icon that you give him and puts a color filter on it. If you want to see your icon, you must use an icon with transparency (png). I advice you to set another icon other than the icon of your application and remove the rectangle with rounded border.
这篇关于状态栏上的通知图标将变为白色框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!