Android Question Icon in the top bar

Isac

Active Member
Licensed User
hello everyone

I need to bring up an icon in the top bar when an event triggers
I tried to use this, but I do not see anything
B4X:
Sub Globals
Dim n As Notification
-------
--------
Sub Button1_Click
n.Initialize
n.Icon="icon"
end sub
thank you
 

Isac

Active Member
Licensed User
Thanks NJDude,
The icon appears in the notifications to me, I would rather see the icon on the display at the top.
 

NJDude

Expert
Licensed User
I don't understand what you mean, when a notification is triggered it appears on the status bar, not exactly know what you mean by "I would rather see the icon on the display at the top"
 
Top