Declare it as a B4XView then you can set the color with:
Button1.Color = Colors.White
or, if you want a border and corner radii.
Button1.SetColorAndBorder(Colors.White, 1dip, Colors.Black, 10dip)
And to get the color with:
BackColor = Button1.Color
Declare it as a B4XView then you can set the color with:
Button1.Color = Colors.White
or, if you want a border and corner radii.
Button1.SetColorAndBorder(Colors.White, 1dip, Colors.Black, 10dip)
And to get the color with:
BackColor = Button1.Color
Declare it as a B4XView then you can set the color with:
Button1.Color = Colors.White
or, if you want a border and corner radii.
Button1.SetColorAndBorder(Colors.White, 1dip, Colors.Black, 10dip)
And to get the color with:
BackColor = Button1.Color