Android Question [SOLVED] Is possible to use "Font Awesome" in a button?

Gary Milne

Active Member
Licensed User
You can use it in a label so you should be able to use it in anything that supports .Typeface, such as a button.

B4X:
    'Font Awesome Font
    Dim FontAwesome As Typeface
    FontAwesome = Typeface.LoadFromAssets("fontawesome-webfont.ttf")
    lblVersion.Typeface = FontAwesome

    'This works
    lblVersion.Text = Chr(0xf061)
    lblVersion.TextSize = 24
    lblVersion.TextColor = Colors.Yellow
 
Top