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

Gary Milne

Active Member
Licensed User
Longtime 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
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
See my lib iconbutton. It uses fontawesome
Too
Vor was it just the fancybutton? ;-)
 
Upvote 0
Top