I need to make an inner shadow and gradient on the circle that I draw with the onDraw () method of my view, see this (sorry, because I'm new to StackOverflow, I cannot post images yet)
I will figure out how to make the gradient work, but I canβt get the inner shadow. All I have found so far is this post, but it seems a bit complicated and not quite what I need
I tried using setShadowLayer (), but I probably can't get it to work correctly, because in addition to the inner shadow, I also get the outer shadow, and this is not what I need
Any help would be appreciated.
Thanks!
Roman tsegelskyi
source share