B4X:
'Initialize the library.
Private FA As FontAwesome
FA.Initialize
'Add the FontAwesome typeface to your view.
Label1.Typeface = FA.FontAwesomeTypeface
'Select the icon you want to display.
Label1.Text = FA.GetFontAwesomeIconByName("fa-android") & " Some title label " & FA.GetFontAwesomeIconByNumber(0xf15d)
this library works fine in b4a but in b4i it crashes.
How do I put text with icon in b4i?
n b4a I wrote
B4X:
lblPassword.Text = FontAwesome.GetFontAwesomeIconByName("fa-lock") &" " & "Password:"
then I would like to create a key grid with a central icon and a small writing positioned in the center
Do I start from here?
B4X:
Sub btn_Click
Dim b As Button = Sender
For i = 10 To 0 Step - 1
b.Text = i
Sleep(100)
Next
b.Text = "Takeoff!"
End Sub
Tanks