can we blur something in compose?, like a `Box`
# compose
m
can we blur something in compose?, like a
Box
f
Theoretically yes but only since Android 12 (which is in beta)
m
too bad
f
You can blur images tho if that's your use case.
m
using glide?
f
Yeah, that should work. (or different image loading lib)
m
I'll try
f
Glide has
BlurTransformation
m
is it available in it's compose version?
f
It should be (it almost certainly is)
Read the docs if you are not sure
w
Hoping for this too, please the issue :) https://issuetracker.google.com/issues/166927547
f
But I guess it will still be available only on Android 12+ because blur effect on render nodes is not supported on previous versions. Maybe it will be software-rendered on previous versions?
g
You can use any standard way for blurring bitmaps (there are many articles and SO answers kn the topic), Android 12 is required only if you want blur for dynamic content