Hi,
I am trying to put a transparant PNG at a Button and need the backgroudcolor of the button.
I tried:
But the backgroudcolor is always white.
Somebody can help?
Kind regards,
André
I am trying to put a transparant PNG at a Button and need the backgroudcolor of the button.
I tried:
B4X:
Button1.Color=Colors.DarkGray
Button1.SetBackgroundImage(LoadBitmapResize(File.DirAssets,"scales.png",pnlWeging.Height-3dip,pnlWeging.Height-3dip,True)).Gravity=Gravity.CENTER_HORIZONTAL+Gravity.TOP
But the backgroudcolor is always white.
Somebody can help?
Kind regards,
André