Lilly
03/09/2021, 1:37 PMScaffold(
topBar = {
Column {
TopAppBar(
...
)
AnimatedVisibility(
visible = (connectionState == BluetoothConnectionState.Disconnected),
enter = slideInVertically(),
exit = slideOutVertically(targetOffsetY = { value -> -value }),
content = { ConnectionStatusBannerComponent(onAction = { }) }
)
}
},
)
Does someone have an idea?Filip Wiesner
03/09/2021, 1:40 PMModifier.zIndex()
Creates a modifier that controls the drawing order for the children of the same layout parent. A child with larger zIndex will be drawn on top of all the children with smaller zIndex. When children have the same zIndex the original order in which the parent placed the children is used.
jaqxues
03/09/2021, 1:59 PMLilly
03/09/2021, 2:02 PM