Home > Back-end >  How to make a Jetpack Compose component invisible that does not superpose any other
How to make a Jetpack Compose component invisible that does not superpose any other

Time:12-07

I have a miniplayer that becomes invisible when it is opened. The things is that i just change the Modifier.alpha but that doesn't make it untouchable, so I dont know how exactly do it. Thank you!

Here is the video of how it works now: https://imgur.com/i3fx08p

I wanted to make it dissapear while it's fullscreen opened. I don't really know how to do that so I have no idea from where to start to test. I tried making the Surface not clickable, but nothing more.

CodePudding user response:

I fixed it using AnimatedVisibility UI component

  • Related