Skip to content
This repository has been archived by the owner on Mar 3, 2020. It is now read-only.

Why notification icon is set to ic_dialog_alert in NotificationManager class? #37

Open
builditpossible-gs opened this issue May 29, 2017 · 1 comment

Comments

@builditpossible-gs
Copy link

I want to change Notification icon of my notification which is .setSmallIcon(android.R.drawable.ic_dialog_alert) in NotificationManager class. How can i change it to ic_launcher?

@diousk
Copy link

diousk commented Sep 16, 2017

Hi sumbgamesh,

I have the same problem and I found that there's another method presentNotification(...) where you can put NotificationExtender as an argument to change the default notification builder inside NotificationManager, therefore we can change the small icon on status bar

Hope that helps.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants