Android Question FontAwesome

Olivier Zeegers

Member
Licensed User
Hi,

What am I doing wrong ?

I have a button with the TypeFace set to FontAwesome in the designer that displays an icon ("Play icon").
When the users presses the button the icon should change to a pause icon, so I use this code:

B4X:
    If PlayBack1.IsRunning = True Then
       
        btnPlay.Typeface = Typeface.FONTAWESOME
        btnPlay.Text=Chr(0xE034)
        PlayBack1.Stop

    End If
I added the TypeFace property although this was already set in the designer.
I does not display the pause icon but a small rectangle instead.

thank you
 
Top