In my app I add Material Icons as a button text and it looks good, checked with my 3 different phones. Few other clients that are using this app also checked and it looks good.
The icons are arrow_back (0x5C4) and feedback (0xE87F)
On one phone instead of these icons user sees Chinese...
Hi everyone, my question is:
It's possibile to put a combination of Matrial Icons and Text in a button declared as B4xview?
I'm used to CSBuilder, but b4xview does not have the .AttributedText parameter :(
Thanks in advance
(re: related thread: https://www.b4x.com/android/forum/threads/fontawesome-icons-in-buttons.80993/ )
I had an issue where FontAwesome icons that looked great in Designer:
were not displaying in the actual program:
and what I eventually tracked it down to was a programming...
This sub will let you use icon fonts as bitmaps
Sub FontBit (icon As String, font_size As Float, color As Int, awesome As Boolean) As Bitmap
If color = 0 Then color = Colors.White
Dim typ As Typeface = Typeface.MATERIALICONS
If awesome Then typ = Typeface.FONTAWESOME
Dim bmp As...