Android Question Setting Button's Enabled State Background With Apha=0 Shows It's Disabled State Background!

bermooda

Member
Licensed User
Longtime User
Hi
I have a button inside a panel. the button have StateDrawable background with three state: Enabled, Disabled, Pressed. All set using Abstract Designer.
The problem is when i set button's enabled state background to DrawableColor with Alpha = 0 and run the app, it shows button's disabled state color. i think it should display the container panel's background but it doesn't.
i did some research about this problem but found nothing useful. is this some kind of a bug? or i'm missing something here?
 
Top