-
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
[feat] Balloon 컴포넌트 구현 #28
Conversation
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.
고생하셨습니다.
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.
p5
네이밍 바꾸기~
app/src/main/java/org/android/bbangzip/presentation/component/balloon/BalloonContainer.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/org/android/bbangzip/presentation/component/balloon/BottomTailBalloon.kt
Show resolved
Hide resolved
Icon( | ||
imageVector = ImageVector.vectorResource(R.drawable.ic_balloon_tail_down), | ||
contentDescription = null, | ||
modifier = Modifier.padding(start = 24.dp), |
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.
p2
여기는 기기대응 고려해서 수정해야 할 것 같아요! 말풍선 너비 계산해서.. Modifier.onSizeChanged
이용하는 방안에 대해서 고민해보세요
contentDescription = null, | ||
modifier = Modifier.padding(start = 24.dp), | ||
tint = BbangZipTheme.colors.staticWhite_FFFFFF, | ||
) |
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.
p5
한줄 띄워주면 좋겠당
|
||
Spacer(modifier = Modifier.height(10.dp)) | ||
|
||
BottomTailBalloon( |
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.
p5
BottomTailBallon인데 여기 프리뷰 달아서.. 조금 불편하다고 할 수 있습니다
@@ -63,3 +64,13 @@ fun Modifier.dropShadow( | |||
canvas.restore() | |||
} | |||
} | |||
|
|||
@Composable | |||
fun Modifier.applyShadows( |
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.
p5
기특핑
shape: Shape, | ||
): Modifier { | ||
return shadowType.shadowOptions.fold(this) { acc, shadowOption -> | ||
acc.dropShadow(shape = shape, color = shadowOption.color, blur = shadowOption.blur, offsetY = shadowOption.offsetY, offsetX = shadowOption.offsetX, spread = shadowOption.spread) |
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.
p4
이거 인자 하나마다 한 줄 씩 띄어쓰기 해주면 가독성이 더 좋아지겠어요
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.
어푸푸
푸우
Related issue 🛠
Work Description ✏️
Screenshot 📸
Uncompleted Tasks 😅
To Reviewers 📢
ballon 컴포넌트를 구현했습니다. 사용씨 horizontalPadding 넣는걸 기억해주세요!