Android Question Help : Insert small image into label

mangojack

Expert
Licensed User
Longtime User
Add a Label in the Designer ... Set its Horizontal Alignment to 'Left'

then ....
B4X:
Dim b As Bitmap = LoadBitmapSample(File.DirAssets,"smiley.png",50dip, 50dip)
Label1.SetBackgroundImage(b).Gravity = Gravity.Right
 
Upvote 0
Top