https://kotlinlang.org logo
#compose
Title
# compose
a

allan.conda

09/28/2020, 10:35 AM
If I wrap
AnimatedVisibility
around the
TopAppBar
, I lose the elevation. Is there something else I should be using to toggle it’s visibility?
j

Joost Klitsie

09/28/2020, 1:08 PM
Well perhaps it is still elevated, just the AnimatedVisibility cuts it off. Would it work if you elevate the AnimatedVisibility?
a

allan.conda

09/28/2020, 2:13 PM
Ah, you’re right… Sucks to have to wrap it in another Surface however
Thanks for your help
3 Views