Hi all,
I have this piece of code to show a notification:
The icon is "sms.png", it is in the object/res/drawable folder and is marked as read only.
When the event is coming, I see correctly the icon in the notification bar, but when I swipe to open the notification list, I see just the name and the icon is all black.
Why this behaviour ?
Attached the icon file and a picture that show the problem.
I have this piece of code to show a notification:
B4X:
Dim n As Notification
n.Initialize
n.SetInfo("Bmap4AK", "Nuovo SMS", SMS_Manager)
n.Icon = "sms"
n.Sound=False
n.Vibrate=False
n.Light=False
n.Notify(9)
The icon is "sms.png", it is in the object/res/drawable folder and is marked as read only.
When the event is coming, I see correctly the icon in the notification bar, but when I swipe to open the notification list, I see just the name and the icon is all black.
Why this behaviour ?
Attached the icon file and a picture that show the problem.