Android Question Multiline Notification

RandomCoder

Well-Known Member
Licensed User
Longtime User
I've searched the forum and it appears that I need to use Barx's library
Notification Builder Library.

But this is overkill for what I need and just wanted to check that it can't be done with the standard built-in notification object.
Basically I just want the standard app icon and two lines of text. The first line is the title of a music track that is being played and the second line is the elapsed time and duration. It doesn't matter if I use CRLF or just Chr(13), both strings end up on the same line.

B4X:
n.SetInfo("UPNP Browser", currentlyPlaying & Chr(13) & duration, "")
n.Notify(1)

OR...

n.SetInfo("UPNP Browser", currentlyPlaying & CRLF & duration, "")
n.Notify(1)

Is the only option to use one of the other libraries?
 
Top