Hello to everybody,
this is Saverio, it's my first time here.
Attached there is an extract of a project perfectly working on the emulator (Android 4.4.2 Api_19)
but not properly working neither on real device (Galaxy Note2 4.1.2) nor on emulator (Android 4.1.2 API_16).
In the example there are two button both with StateListDrawable populated with GradientDrawable.
For the first button, the gradients color buffer is filled by index (Clr(0)=SomeColor), instead, in the
second one, the same thing, it's done by array (Clr=Array as int(SomeColor1, SomeColor2).
The Problem is that, for the first button, I got the same color, even pressed or released.
As you can see, from the example, I also tried Colors.ARGB, but got same result.
The question is, there is some good boy that can explain this
Ciao to everyone
Note2 4.1.2 Emu 4.1.2 Emu 4.4.2