Android: No icon for Notification
Posted
by Omer
on Stack Overflow
See other posts from Stack Overflow
or by Omer
Published on 2010-05-18T07:05:46Z
Indexed on
2010/05/18
7:10 UTC
Read the original article
Hit count: 483
Hello,
I wanted to create a notification without the icon in the status bar (the state that is not expanded). I tried the custom expanded view and set the icon for this view only. But it did not work. When I give 0 as icon to the constructor, the icon disappears but notification also does not appear in the expanded view.
Notification notification = new Notification(0, "", 0);
I tried a lot of combinations but didn't come out with a solution. By the way, I know it is working because I saw this feature in some apps. Thanks.
© Stack Overflow or respective owner