Hi all
I want to show a B4XView (button) with an icon and border.
My code is
The icon shown correctly but without a border around the button. Is it possible to show a border and the icon on the same button?
Thanks
I want to show a B4XView (button) with an icon and border.
My code is
B4X:
Button1.SetColorAndBorder(Colors.green,2dip,Colors.Black,0dip)
Button2.SetColorAndBorder(Colors.White,2dip,Colors.Black,0dip)
Dim bmp As Bitmap
bmp.Initialize(File.DirAssets,"rx.png")
Button1.SetBitmap(bmp)
bmp.Initialize(File.DirAssets,"hearbit32.png")
Button2.SetBitmap(bmp)
The icon shown correctly but without a border around the button. Is it possible to show a border and the icon on the same button?
Thanks