Is there a way to create a frosted glass effect using Jetpack Compose? My background is dynamic and ...
s
Is there a way to create a frosted glass effect using Jetpack Compose? My background is dynamic and I only want the part behind the card to be blurred. (for versions > android 8) I am trying to make something like this -
f
The linked example uses
blur
modifier which is Android 12+
👍 2
s
it should be pointed out that
RenderEffect
on Android 12+ is not the same as
UIBlurEffect
on
iOS
— you’re only able to blur contents within the view; it does not apply to content outside or behind the view, which is the key to creating your desired effect
👍 1
737 Views