I need to make inner shadow and gradient on Circle which I draw in onDraw() method of my view see this (sorry, because of I'm new to StackOverflow I can't post images yet)
I figure out how to get gradient working but I can't get inner shadow done All I've found so far is this post, but it seems a bit complicated and not exactly what I need
I've tried using setShadowLayer(), but it I probably can't get it working right, because besides inner shadow, I get outer shadow too, and this is not what I need
Any help would be appreciated.
Thanks!
You should be able the avoid the outer shadow by setting the clip to the circle as that will restrict the drawing just to inside the circle.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With