Dim cd As ColorDrawable
cd.Initialize(Colors.Blue, 5)
btn1.Background = cd
my label is ColorDrawable as in the designer
when changing color by code
Dim cd As ColorDrawable
cd.Initialize(Colors.Blue, 6dip)
Label1.Background = cd
I agree.thanks LucaMs, I said it first, with that code it works but the Color help-description seems to be wrong...
... and I'm wrong.I agree.