Is there an elegant way to achieve a Gaussian Blur in Compose?
r
romainguy
05/05/2021, 4:36 AM
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
Chachako
05/05/2021, 4:37 AM
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
dewildte
05/05/2021, 4:37 PM
Yeah, I was thinking of using on card background s and other elevated elements. Looking to get that frosted glass effect.
c
Chachako
05/06/2021, 1:23 AM
This is very easy to do in AndroidView, but very difficult for Compose...