Wish Icons

Erel

Administrator
Staff member
Licensed User
SS-2017-02-15_17.02.31.png


You can change the default buttons font to FontAwesome:
B4X:
Dim no As NativeObject
no.Initialize("UIButton").RunMethod("appearance", Null).RunMethod("setFont:", Array(lblFontAwesome.Font))
For i = 1 To 100
   Dim tc As TableCell = TableView1.AddSingleLine(i)
   tc.AddActionButton("Action 1 " & Chr(0xF179), Colors.Green)
   tc.AddActionButton(Chr(0xF17B), Colors.Red)
Next
lblFontAwesome is a label added with the designer with the font set to FontAwesome.

This will affect all buttons. If you like you can set the font of other buttons to a different font by setting it in the Resize event.
 
Top