Android Question How can I change the font in a notification, using NB6 ?

Geezer

Active Member
Licensed User
Longtime User
I am looking at the notifcation options using NB6 ( here ) and was wondering how to use FONTAWESOME characters in the text.
 

DonManfred

Expert
Licensed User
Longtime User
Last edited:
Upvote 0

Geezer

Active Member
Licensed User
Longtime User
Thanks Don. I already tried that using this line from Erel's label example.

B4X:
    n.SetInfo( "Title", cs.Initialize.Append("Text with FontAwesome: ").Typeface(Typeface.FONTAWESOME).Append(Chr(0xF209)).PopAll, MyService )

But it doesn't show correcty
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
I already tried that
But it doesn't show correcty
I did expect it to work.

I tried it now too and i can confirm. It does not show correctly here too.
WhatsApp Image 2018-09-29 at 08.33.25.jpeg

I guess the Charsequence needs to be build in another way or so. Or maybe the System (Android) is just using another Font. Or ignoring any other Fonts
 
Upvote 0

Geezer

Active Member
Licensed User
Longtime User
Yeah, I'd tried the colors etc... everything works that i could find , except the font
 
Upvote 0

Similar Threads

Top