Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Background blur #131

Open
DerSIlent opened this issue Apr 19, 2022 · 1 comment
Open

Background blur #131

DerSIlent opened this issue Apr 19, 2022 · 1 comment

Comments

@DerSIlent
Copy link

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!

@cmy82
Copy link

cmy82 commented May 6, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants