Chuck Stein
08/21/2021, 11:17 PMDoris Liu
08/22/2021, 1:59 AMColumn
, I would move the Column in an AnimatedVisibility and use shrinkVertically(shrinkTowards = <http://Alignment.Top|Alignment.Top>) + fadeOut()
to achieve that slide.Chuck Stein
08/22/2021, 6:32 PMDoris Liu
08/23/2021, 5:38 PMshrinkVertically
, this will bring the search bar and chip group up.
2) After that, fade + slide in the top bar "Search queries" text while shrink + fadeOut the search bar.
The sequencing can be done by either adding a delay to the 2nd set of animations, or observe the state of the greeting text exit animation and animate the 2nd set when it finishes. You could use the AnimatedVisibility(MutableTransitionState)
API to make the animation states of AnimatedVisibility observable.Chuck Stein
08/23/2021, 6:52 PMDoris Liu
08/23/2021, 7:00 PM