Hi everyone, I'm loving the new FontAwesome and Material font support in the IDE
A few quick questions:
1) In the B4J Tutorial, it suggests you can click an icon and then paste in the IDE to get something like: Chr(0xF17B)
However in B4A, when I paste, that doesn't work. How do I get the CHR code reference in B4A?
2) When creating a button in code (not in the designer), how do I set the Typeface to "FontAwesome"? I'm trying to do something like:
However the Typeface cannot be loaded, and the IDE gives no option for Typeface.FontAwesome or similar.
Thanks in advance!
Andrew.
A few quick questions:
1) In the B4J Tutorial, it suggests you can click an icon and then paste in the IDE to get something like: Chr(0xF17B)
However in B4A, when I paste, that doesn't work. How do I get the CHR code reference in B4A?
2) When creating a button in code (not in the designer), how do I set the Typeface to "FontAwesome"? I'm trying to do something like:
B4X:
Dim MyTypeFace As Typeface
MyTypeFace.LoadFromAssets("FontAwesome")
Dim Btn As Button
Btn.Initialize("MyButton_Clicked")
Btn.Typeface = MyTypeFace
Btn.Text = Chr(0xF17B)
However the Typeface cannot be loaded, and the IDE gives no option for Typeface.FontAwesome or similar.
Thanks in advance!
Andrew.