[英]Notification icon on status bar is coming as white box
How do i customize the notification icon on the status bar in my phone running Android 5.0. 如何在运行Android 5.0的手机中自定义状态栏上的通知图标。 It always comes as a white box(image attached).
它总是以白色框的形式出现(附有图像)。
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 uses the icon that you give him and puts a color filter on it. android 5.0使用您给他的图标,并在其上放置滤色器。 If you want to see your icon, you must use an icon with transparency (png).
如果要查看图标,则必须使用透明图标(png)。 I advice you to set another icon other than the icon of your application and remove the rectangle with rounded border.
我建议您设置除应用程序图标以外的其他图标,并删除带有圆角边框的矩形。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.