반응형
Material3의 CneterAlignedTopAppBar - TopAppBar Title을 가운데 정렬할 수 있다
@ExperimentalMaterial3Api
@Composable
fun CenterAlignedTopAppBar(
title: @Composable () -> Unit,
modifier: Modifier = Modifier,
navigationIcon: @Composable () -> Unit = {},
actions: @Composable RowScope.() -> Unit = {},
windowInsets: WindowInsets = TopAppBarDefaults.windowInsets,
colors: TopAppBarColors = TopAppBarDefaults.centerAlignedTopAppBarColors(),
scrollBehavior: TopAppBarScrollBehavior? = null
): Unit
https://developer.android.com/reference/kotlin/androidx/compose/material3/package-summary
'Study > Compose' 카테고리의 다른 글
compose / Column Scrollable 하게 만들기 (Column + verticalScroll) (0) | 2023.08.27 |
---|---|
Compose / HorizontalPager swipe/drag/scroll 막기 (0) | 2023.08.02 |
Compose / 선언형 UI(Declarative UI)란 무엇인가 (명령형 UI와의 차이) (0) | 2023.07.17 |
스터디 / 함수형 UI 스터디 - Compose (0) | 2023.07.17 |