Is there an elegant way to achieve a Gaussian Blur...
# compose
d
Is there an elegant way to achieve a Gaussian Blur in Compose?
r
What do you want to blur? It's not supported out of the box but Android 12 offers apis to blur views, render nodes and windows.
c
Unfortunately, the Compose does not provide it at the moment. I am preparing to implement one by myself, but the problem I currently encounter is that I don’t know how to take a screenshot of a single widget.
d
Yeah, I was thinking of using on card background s and other elevated elements. Looking to get that frosted glass effect.
c
This is very easy to do in AndroidView, but very difficult for Compose...