-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dialog 구현 #21
base: main
Are you sure you want to change the base?
Dialog 구현 #21
Conversation
buttonType = BoxButtonType.Secondary | ||
) | ||
|
||
Spacer(modifier = modifier.width(dialogButtonSpacing)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Spacer(modifier = modifier.width(dialogButtonSpacing)) | |
Spacer(modifier = Modifier.width(dialogButtonSpacing)) |
) { | ||
// Scrim | ||
Box( | ||
modifier = Modifier |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
modifier = Modifier | |
modifier = modifier |
특별한 이유가 있지 않다면 파라미터로 들어오는 modifier는 최상위 컴포저블에만 적용하고 나머지는 파라미터와 독립적으로 적용하는 게 관례예요
contentAlignment = Alignment.Center // 중앙 정렬 | ||
) { | ||
Box( | ||
modifier = modifier |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
modifier = modifier | |
modifier = Modifier |
등등
.background( | ||
color = HandyTheme.colors.bgBasicDefault, | ||
shape = RoundedCornerShape(16.dp) | ||
) //todo Radius.XL 어떻게 활용하는지 모르겠음 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
16.dp
대신 Radius.XL.dp
쓰시면 돼요
구현
영상
default.webm
ToReviewer
Scrim
해당 컬러가 다이얼로그 사용시 scrim과 함께 사용하며 scrim은 opacity/gray를 사용합니다.
애니메이션