skydoves / ColorPickerView

🎨 Android colorpicker for getting colors from any images by tapping on the desired color.
Apache License 2.0
1.57k stars 211 forks source link

setSelector(x, y) doesn't work? #6

Closed DarioNevistic closed 6 years ago

DarioNevistic commented 6 years ago

I can't change position of custom selector. It is always in center of view. Also, setSelectorDrawable() not working.. Anyone know what's the problem?

skydoves commented 6 years ago

Hello, isn't your custom selector's size bigger than palette?

DarioNevistic commented 6 years ago

No, it's not. It's a small circle icon, 32x32 in hdpi. Values of x and y of colorView is always same. Do you have any working example maybe?

skydoves commented 6 years ago

https://github.com/skydoves/ColorPickerView This project includes some examples. Doesn't work properly?

DarioNevistic commented 6 years ago

Strange...after I added some delay of 0ms > when call setSelectorPoint(), it works.. Thanks anyway