🤖 Compose
[Compose] Component 알아보기 - TopAppBar
콩드로이드
2025. 1. 4. 13:50
Column {
TopAppBar(
title = { Text(text = "보통의 앱 바") },
navigationIcon = {
IconButton(onClick = {}) {
Icon(imageVector = Icons.AutoMirrored.Filled.ArrowBack,
contentDescription = null)
}
},
actions = { // row Scope
IconButton(onClick = {}) {
Icon(imageVector = Icons.Filled.Edit,
contentDescription = null)
}
IconButton(onClick = {}) {
Icon(imageVector = Icons.Filled.Check,
contentDescription = null)
}
}
)
}
이런 식으로 생성된다
조절할 일은 아이콘 설정, 클릭 시 동작 이 정도일 거 같긴 하다 ..!