Closed engilyin closed 5 years ago
WORKAROUND: if I put color value directly it solves the issue:
android:defaultValue="#ece7c9"
Thanks for the bug report. I've managed to reproduce it. Looking into it.
Thank you very much!
Fixed in release 2.4.1.
I had to update com.rarepebble:colorpicker:2.3.1 to the latest com.rarepebble:colorpicker:2.4.0 due to the bug with Canvas.save().
After update I found older devices did not show the default color anymore. If I pick a new color it get worked well.
Looking into the source and debug it I think the problem is the fix which changes how the defaults are read: "Corrected onGetDefaultValue / onSetInitialValue."
In my xml I have such entry:
in colors.xml:
<color name="learningLanguage">#ece7c9</color>
how pref UI is inited:Should I change my code somehow to make it read the default color or it is the bug and I have to wait for a new version?
P.S. thank you very much for this great library!