Android Question Change Button Image Via Code(SOLVED)

Stichler

Active Member
Licensed User
I have a button i'd like to change it's image via code. Could someone post example code please?
 

Star-Dust

Expert
Licensed User
B4X:
Button1.SetBackgroundImage(bmp.Initialize(LoadBitmap(File.DirAssets, "image.png"))
 
Upvote 0
Top