WheelPicker
WheelPicker copied to clipboard
Selected item text color
The property wheel_selected_item_text_color in xml is not working.
Yeap, +1 - it's not working for some reason.
Yeah, seems that there is a bug with that.
White color #FFFFFF
is resolved to -1 as int resource.
So, next check - if (mSelectedItemTextColor != -1)
in WheelPicker.java line 604 would not work and color is selected item would not be white.
Why not make it if (mSelectedItemTextColor != 0)
?
I'm not making pull request, cause not sure, if I understand everything correct.
PS. Are you trying to use white color in that case or another one?
PPS. As a temporary decision, you can download the project, include it as a module in your project and change abovementioned check to !=0
.
@GoltsevEugene thanks for your answers.
Unfortunately, I don't remember what color I was trying to use. But I remember that no matter what I tried this property never worked for me.
I ended up using another library.