Closed pakoito closed 9 years ago
Try to run sample app and check if issues remains.
The issue is in the sample app too: http://imgur.com/a/tlAtW
@pakoito sorry, I can't reproduce this issue. For me color always changes according to pb_colorProgress
. Can you provide Android Version and Device manufacturer?
Samsung Galaxy S4, Android 4.4.2
I just tried on Android 4.4.4 device, all seems to work. Can you install sample app from play store? Also can you check on emulator or another device?
Xiaomi MI2-S with MIUI 6 (4.1.X) with the app from the store has the same issue.
An emulator is not an accurate representation of any device, I never use them for anything other than unitests and neither should you.
I have tested on several devices, Nexus 5, Nexus 7, Xperia S and Genymotion. So when you install sample app, and choose Action Button Progress sample, progress is green?
Your video is showing the problem too! Check the imgur link above, progress state -which if I understood correctly is Loading.. - is set to white background, yet the button still shows the same as idle. My original post has Loading blue but it shows as idle, green.
In the default sample idle is blue and loading is violet or purple, IIRC. If my color blindness is not kicking in, your video shows both as the same color.
Ok, I misunderstood you. So pb_colorProgress
is used for button progress line, in btnSignIn.setMode(ActionProcessButton.Mode.PROGRESS);
mode. So you can't change color of button in progress mode.
Okay, can you please put this as a feature request then, please?
@pakoito yes, but I will not be able to update library for a while...
Created issue #35
Great, thank you.
This is my button
the progress state shows as green for some reason. I'm not setting the colors again in code or anything.