Spotlight icon indicating copy to clipboard operation
Spotlight copied to clipboard

Background blur

Open DerSIlent opened this issue 2 years ago • 1 comments

Hello,

Is there a way to set the background of the spotlight to a blur? Meaning that you cannot see the layout underneath the spotlight, due to the blur? I currently tried to but a view that matched parent on width and height but then it blocks the target being shown. Does anyone know a work around for this?

Thanks!

DerSIlent avatar Apr 19 '22 14:04 DerSIlent

When you say the spotlight are you talking about the area around the target or the area outside the target? Area around the target, just change the alpha value so that its always 255 regardless of what the animation/interpolated value is. If you mean the area outside the target, its possible, but would entail a lot of custom drawing as you would have to draw everything except the area of the target, so that you can see the view that you are targeting.

cmy82 avatar May 06 '22 00:05 cmy82