Dim cd As ColorDrawable
cd.Initialize(Colors.Red,0) 'you can use xui colors
Button1.Text="electro179"
Button1.Background = cd
Dim jo As JavaObject = Button1.Background
Dim x As Int=20dip
jo.RunMethod("setCornerRadii", Array(Array As Float(x, x, x, x, x, x, 0, 0))) '3 corners rounded