WheelPicker icon indicating copy to clipboard operation
WheelPicker copied to clipboard

Selected item text color

Open luizfp opened this issue 8 years ago • 3 comments

The property wheel_selected_item_text_color in xml is not working.

luizfp avatar Aug 02 '16 00:08 luizfp

Yeap, +1 - it's not working for some reason.

GoltsevEugene avatar Jan 21 '17 19:01 GoltsevEugene

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 avatar Jan 22 '17 20:01 GoltsevEugene

@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.

luizfp avatar Jan 22 '17 21:01 luizfp