2

I'm new to B4A. I want to add border to a button and change it's color with writing script in activity module, in B4A. What should I do? Tnx

Soroosh Noorzad
  • 503
  • 1
  • 6
  • 18

1 Answers1

3

You need to create a ColorDrawable and assign it to the button

Dim cd As ColorDrawable cd.Initialize(Colors.Green, 5dip) Btn.background = cd

andyr00d
  • 71
  • 3