Android Question Drawing canvas on a button disables the button's image

strat

Active Member
Licensed User
Longtime User
I'm trying to draw on a button by using canvas. Actually writing some texts by using canvas.drawtext command. When I use this code, button1.enabled=false works but disabled image doesn't show. Button1 seems like it's enabled still.
If I remove this code, everything is OK.

How can I solve this problem ?

B4X:
dim c as Canvas
c.Initialize(button1)
 
Last edited:
Top