Android Question ListView how to align using Fontawsome

Alberto Michelis

Well-Known Member
Licensed User
Longtime User
Hi, Im using a listview as a menu, in the line items Im using fontawsome to add an icon.
How can I align the line description?
see image
thanks
 

Attachments

  • WhatsApp Image 2019-01-07 at 14.10.24.jpeg
    WhatsApp Image 2019-01-07 at 14.10.24.jpeg
    34.5 KB · Views: 207

Alberto Michelis

Well-Known Member
Licensed User
Longtime User
B4X:
    ListView1.AddSingleLine(Chr(0xF2B9) & "  Item 1" )
    ListView1.AddSingleLine(Chr(0xF187) & "  Item 2" )
    ListView1.AddSingleLine(Chr(0xF1FE) & "  Item 3" )
    ListView1.AddSingleLine(Chr(0xF0B2) & "  Item 4" )
 
Upvote 0
Top