Clue
05/24/2026, 10:44 PMCard(
onClick = { /*TODO*/ },
) {
if(showLoading.value) {
Box(
modifier = Modifier.fillMaxSize(),
contentAlignment = Alignment.Center,
) {
CircularProgressIndicator()
}
} else {
Text(entryText.value)
Text(projectText.value, style = MaterialTheme.typography.titleSmall)
}
}
Hey everyone. I have this Card in Wear Compose, and I want the CircularProgressIndicator to be in the center, but not the text. I have already figured out how to do it horizontally, but I can't seem to find how to center it vertically.
I have attached an image showing the issue.