TapTargetView icon indicating copy to clipboard operation
TapTargetView copied to clipboard

Can't use android.graphics.Color.rgb()?

Open roblav96 opened this issue 10 years ago • 4 comments

I'd like to set the colors programmatically like so:

.outerCircleColor(android.graphics.Color.rgb(255, 0, 0))

but it throws android.content.res.Resources$NotFoundException: Resource ID #0xffff0000.

Is this really not possible?

roblav96 avatar Nov 20 '16 08:11 roblav96

Thank you for such a fantastic library. I would really like to be able to pass a color value rather than ID. Do you think this might be something you might implement?

squarenotch avatar Nov 20 '16 21:11 squarenotch

Please use 1.5.3 for this functionality.

xiphirx avatar Nov 20 '16 21:11 xiphirx

@xiphirx Works brilliantly. Thank you very much.

squarenotch avatar Nov 20 '16 21:11 squarenotch

@xiphirx @squarenotch 🌮 🎉 🎂 🎁 🍰

roblav96 avatar Nov 21 '16 14:11 roblav96