Blur only the text #495
-
In Compose, I want to apply a blur effect to the text only, but I can't achieve this without adding a blurred box on top of the text, which also blurs the background behind it. Is there a way to blur only the text without affecting the background? |
Beta Was this translation helpful? Give feedback.
Answered by
chrisbanes
Jan 29, 2025
Replies: 1 comment
-
Sounds like you want the Compose |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
chrisbanes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sounds like you want the Compose
Modifier.blur()
instead? Haze is for background blurring.Modifier.blur()
is for foreground/content blurring.