Card


shape

elevation

@OptIn(ExperimentalMaterial3Api::class)
@Composable
fun TestCard() {
    Column {
        Card(shape = RoundedCornerShape(5.dp),
            elevation = CardDefaults.cardElevation(defaultElevation = 0.dp)) {
            Text(text = "안녕하세요")
        }
        Spacer(modifier = Modifier.height(16.dp))
        Card(shape = RoundedCornerShape(5.dp),
            elevation = CardDefaults.cardElevation(defaultElevation = 0.dp)) {
            Text(text = "안녕하세요")
        }
    }
}

Untitled

Image


이미지 맞춤설정  |  Jetpack Compose  |  Android Developers

painter

contentDescreption