Android Question A simple button

Buttons are made of nine patch images. When you set the Button's Color property you remove the existing background and set a new ColorDrawable. Unlike the image which has some padding the ColorDrawable doesn't have any padding.


I think you agree that you expected a different behavior, which is the same that is obtained using the Designer.

So should I get nine patch image and restore it? Or worse, get it and then recolor it!

Maybe you can make this change in the next version of B4A.



Thanks, Erel
 
Upvote 0
Back
Top