Android Question Add Material Icon in runtime

Scantech

Well-Known Member
Licensed User
Longtime User
How do i add material icons in label at runtime. I want to use menu image.
 

DonManfred

Expert
Licensed User
Longtime User
B4X:
    Dim lbl As Label
    lbl.Initialize("Label")
    Activity.AddView(lbl,0,100dip,100%x,100dip)
    lbl.Typeface = Typeface.MATERIALICONS
    lbl.TextSize = 50
    lbl.TextColor = Colors.Red
    lbl.Text = Chr(0xe84f)
 
Upvote 0
Top