In B4A version 4.00 you can add a boarder to a button.
With ColorDrawable you have the properties BoarderColor and BoarderWidth.
It can be defined either in the
- Designer, StateListDrawable -> ColorDrawable for the different states.
- code with ColorDrawable.Initialize2(Color As Int, CornerRadius As Int, BorderWidth As Int, BorderColor As Int).