Hi,
in the designer I set for my buttons the "Drawable" property on "Statelist Drawable" and I set two different images for the "Enabled Drawable" and the "Disabled Drawable" properties. When I set button.Enabled = False in one of the click events though, the background image of the button doesn't change.
What am I missing? Doesn't it work that way?
in the designer I set for my buttons the "Drawable" property on "Statelist Drawable" and I set two different images for the "Enabled Drawable" and the "Disabled Drawable" properties. When I set button.Enabled = False in one of the click events though, the background image of the button doesn't change.
What am I missing? Doesn't it work that way?