-
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
[feature/#12] 공통 아이콘 제작 #13
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.
궁금한 점들 달아놓았으니 확인해주세요!
그리고 Box>Text 대신 Text로만 컴포넌트 만드는 연습도 하면 좋을 듯! (굉장히 편함)
모르면 바로 삐삐쳐요!!
.../main/java/com/wearerommies/roomie/presentation/core/designsystem/component/RoomieKeyword.kt
Outdated
Show resolved
Hide resolved
Box( | ||
modifier = modifier | ||
.background(color = backgroundColor, shape = RoundedCornerShape(size = 4.dp)) | ||
.noRippleClickable { | ||
onClick() | ||
} | ||
.padding(horizontal = 8.dp, vertical = 4.dp), | ||
contentAlignment = Alignment.Center | ||
) { | ||
Text( | ||
text = text, | ||
style = textStyle | ||
) | ||
} |
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.
Box 없이 Text만으로도 구현할 수 있어요
modifier을 잘 사용해보셔요! 다른 컴포넌트들도 마찬가지!
.../main/java/com/wearerommies/roomie/presentation/core/designsystem/component/RoomieKeyword.kt
Outdated
Show resolved
Hide resolved
.../main/java/com/wearerommies/roomie/presentation/core/designsystem/component/RoomieKeyword.kt
Outdated
Show resolved
Hide resolved
...ain/java/com/wearerommies/roomie/presentation/core/designsystem/component/RoomieRoomAsset.kt
Outdated
Show resolved
Hide resolved
modifier = Modifier | ||
.size(32.dp) | ||
.clip(CircleShape) | ||
.fillMaxSize() |
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.
clip 후에 fillMaxSize 넣어준 이유는 무엇인가요??
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.
image를 부모 컴포넌트에 맞게 확장하려 넣은건데 생각해보니 size를 고정해서 불필요한 코드인것 같네요 삭제하겠습니다!!
.../main/java/com/wearerommies/roomie/presentation/core/designsystem/component/RoomieKeyword.kt
Outdated
Show resolved
Hide resolved
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.
코드 짱 깔끔해짐 히히 너무 좋아요!!!
} | ||
} | ||
|
||
@Composable | ||
fun RoomieBorderKeyword( | ||
fun RoomieOutlinedChip( |
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.
네이밍 센스 죽인다...
RoomieTextWithDotChip( | ||
firstText = "성별", | ||
secondText = "n인실", |
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.
프리뷰 만들면서 이게 맞나 싶었는데 디폴트 지정하니 좋네여~!!!!
) { | ||
Text( | ||
modifier = modifier | ||
.width((LocalConfiguration.current.screenWidthDp * 0.106).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.
엇 그런데 아래에서 패딩값을 선언해줘서 이 width는 필요없지 않나요??
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.
피그마에 있는거로 봐선 글자수에 상관없이 같은 width를 의도하신 것 같은데 width 지정을 안하면 width가 각자 따로 놀더라구용 그래서 지정해줬습니다!!
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.
하 진짜 빠르다 최고애요
🏠 ISSUE
❗ WORK DESCRIPTION
📸 SCREENSHOT
💻 주요 코드
📢 TO REVIEWERS