Geezer Active Member Licensed User Longtime User Sep 28, 2018 #1 I am looking at the notifcation options using NB6 ( here ) and was wondering how to use FONTAWESOME characters in the text.
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 Sep 28, 2018 #2 The Title, SubText and ContentText can be a CharSequence. Use CSBuilder to build them. See Google Documentation. Last edited: Sep 28, 2018 Upvote 0
The Title, SubText and ContentText can be a CharSequence. Use CSBuilder to build them. See Google Documentation.
Geezer Active Member Licensed User Longtime User Sep 29, 2018 #3 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
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
DonManfred Expert Licensed User Longtime User Sep 29, 2018 #4 Geezer said: I already tried that Click to expand... Geezer said: But it doesn't show correcty Click to expand... I did expect it to work. I tried it now too and i can confirm. It does not show correctly here too. 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 said: I already tried that Click to expand... Geezer said: But it doesn't show correcty Click to expand... I did expect it to work. I tried it now too and i can confirm. It does not show correctly here too. 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
DonManfred Expert Licensed User Longtime User Sep 29, 2018 #5 DonManfred said: I tried it now too and i can confirm. It does not show correctly here too. Click to expand... I played around with it a bit. - Tested to change the Fontcolor. This does work. See Titleline.... Upvote 0
DonManfred said: I tried it now too and i can confirm. It does not show correctly here too. Click to expand... I played around with it a bit. - Tested to change the Fontcolor. This does work. See Titleline....
Geezer Active Member Licensed User Longtime User Oct 4, 2018 #6 Yeah, I'd tried the colors etc... everything works that i could find , except the font Upvote 0