You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That white dot is actually supposed to be the application's icon. I'm not sure why, but that white dot is only visible on Android 11. I've tested it on older versions (10, 8, 6) and the application's icon was showing currently.
The following line is responsible for setting up that icon:
I think this is caused by the small icon's background color. If it is set to transparent, perhaps it will be solved. Unfortunately, I couldn't find proper code that builds. So it's up to you. What I have is:
if (android.os.Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
notification.setColor(getResources().getColor(R.color.TRANSPARENT));
}
Hi,
can you give me a hint on how to change the small icon (white dot) in the notification?
The text was updated successfully, but these errors were encountered: