https://kotlinlang.org logo
h

Hatice Sarp

10/26/2021, 12:12 PM
Hello, I use compose throughout the app. I made 
ripple
 transparent from material theme in Compose. When I make it transparent from this theme, ripple does not appear directly on compose. In some places I inflate composable into fragment with
ComposeView
.  The ripple of the items in the ComposeView is visible. What do you think I should do?
c

Chris Sinco [G]

10/26/2021, 10:40 PM
Are you wrapping the content in ComposeView with the same theme?
Also FWIW from the UX perspective I would advise against hiding the ripple. It's there purposefully to give the user consistent touch feedback, which was an intentional design default we made in Compose.
h

Hatice Sarp

10/27/2021, 6:39 AM
No, I forgot to wrap it, but when I did as you said, it is a solution.Thanks for the answer We have decided to close it for the first version. I'll take what you said into consideration for the next version.
2 Views