Android Question Assign by code a fontawesome icon to a label

vecino

Well-Known Member
Licensed User
Longtime User
Hello, how can it be done?
I have tried several ways but it doesn't show anything.
Thank you.

B4X:
Dim lb As Label
lb.Typeface = Typeface.FONTAWESOME
lb.Text = Chr(0xF02A)
 

Peter Simpson

Expert
Licensed User
Longtime User
B4X:
Dim lb As Label
lb.Typeface = Typeface.FONTAWESOME
lb.Text = Chr(0xF02A)
You must be doing something seriously wrong as your code should work perfect.
 
Upvote 0
Top