Hi,
I've been trying adding a border to a BitmapDrawable button with the known code
But setting the button to ColorDrawable makes the image to disappear, being replaced with the specified background color/transparency.
Is there any way to add the border without losing the image? (The images have been set as BitmapDrawable in the designer)
Thanks!
I've been trying adding a border to a BitmapDrawable button with the known code
B4X:
Dim cd As ColorDrawable
cd.Initialize2(Colors.White, 5dip, 2dip, Colors.Black)
MyButton.Background = cd
But setting the button to ColorDrawable makes the image to disappear, being replaced with the specified background color/transparency.
Is there any way to add the border without losing the image? (The images have been set as BitmapDrawable in the designer)
Thanks!