Nat Strangerweather
05/20/2022, 8:20 PMRow(
Modifier.fillMaxSize(),
horizontalArrangement = Arrangement.Center,
verticalAlignment = Alignment.CenterVertically
) {
Surface(Modifier.fillMaxSize(), color = Color.Transparent) {
ShowCelebration()
Text(text = resultString!!)
}
}
}
manju reddy
05/20/2022, 8:31 PMNat Strangerweather
05/20/2022, 8:33 PMmanju reddy
05/20/2022, 8:33 PMNat Strangerweather
05/20/2022, 8:36 PMmanju reddy
05/20/2022, 8:40 PMNat Strangerweather
05/20/2022, 8:45 PMChris Sinco [G]
05/20/2022, 8:56 PMapparently it only works if the Composable is in a SurfaceCould you elaborate on what isn’t working? Surface under the hood is just a Box with MaterialTheme colors passed as CompositionLocals and parameters to set elevation
Nat Strangerweather
05/20/2022, 8:58 PMChris Sinco [G]
05/20/2022, 9:18 PMNat Strangerweather
05/21/2022, 8:43 AM