1주차 미션/ 1조 김세연#2
Open
rlatpdusdlqslek-spec wants to merge 1 commit intoKonkuk-KUIT:rlatpdusdlqslek-specfrom
Open
1주차 미션/ 1조 김세연#2rlatpdusdlqslek-spec wants to merge 1 commit intoKonkuk-KUIT:rlatpdusdlqslek-specfrom
rlatpdusdlqslek-spec wants to merge 1 commit intoKonkuk-KUIT:rlatpdusdlqslek-specfrom
Conversation
1hyok
reviewed
Mar 21, 2026
| .border(1.dp, Color.Black, RoundedCornerShape(24.dp)), // 검정 테두리 | ||
| shape = RoundedCornerShape(24.dp), | ||
| colors = CardDefaults.cardColors(containerColor = Color.White), | ||
| elevation = CardDefaults.cardElevation(defaultElevation = 8.dp) |
There was a problem hiding this comment.
카드가 Row Column에 대해 갖는 장점은 그림자가 모양을 지정해 주지 않아도 자동으로 카드의 모양을 따라간다는 것인데요, 피그마 디자인 상으로 그림자가 없어서 elevation을 쓸 필요가 없기 때문에 카드로 감싸지 않는 것이 좋습니다! 카드를 없애고 바로 하위에 있는 컬럼에 카드에 적용했던 스타일을 적용하면 됩니다
1hyok
reviewed
Mar 21, 2026
| // 1. 외곽 카드 컨테이너 | ||
| Card( | ||
| modifier = Modifier | ||
| .size(width = 280.dp, height = 350.dp) // 적절한 카드 비율 |
There was a problem hiding this comment.
말씀드렸다시피 이렇게 가장 바깥 컴포넌트에 크기를 지정하는 대신, 가장 내부에 있는 컴포넌트에 크기를 지정하고 감싸야 되는 포인트입니다
1hyok
reviewed
Mar 21, 2026
| modifier = Modifier | ||
| .fillMaxSize() | ||
| .padding(30.dp), // 내부 여백 | ||
| verticalArrangement = Arrangement.spacedBy(16.dp) // 요소 간 간격 |
There was a problem hiding this comment.
이 Arrangement와 내부의 Spacer로 간격 적용이 중복되었는데요 둘 중 하나로 통일하는 것이 좋습니다!
|
말씀드린 것 지키면서 피그마 디자인과 똑같이 구현하려고 노력해 보시면 좋겠습니다 수고하셨습니다~ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
1. 미션
프로필 카드
도형
간격
사진 추가
2. 구현에 대한 설명
1. 전체 레이아웃 구조 (Layout Hierarchy)
본 프로젝트는 Box-Column-Row의 계층 구조를 활용하여 화면을 구성했습니다.
fillMaxSize)를 차지하며,contentAlignment = Alignment.Center를 통해 내부 콘텐츠를 화면 중앙에 배치했습니다.Arrangement.spacedBy(20.dp)를 사용하여 요소 간의 일정한 간격을 유지했습니다.2. 주요 Modifier 활용 및 속성 제어
Compose의 핵심인
Modifier를 사용하여 각 요소의 디자인을 세밀하게 제어했습니다.background와border속성을 활용했습니다. 특히shape파라미터에RoundedCornerShape와CircleShape를 전달하여 각진 사각형, 둥근 사각형, 원형 등 다양한 형태를 실험했습니다.Modifier.clip(CircleShape)를 사용하여 사각형 이미지를 원형으로 잘라냈습니다.ContentScale.Crop을 적용하여 이미지가 지정된 영역(size) 내에서 비율을 유지하며 가득 차도록 구현했습니다.3. 컴포저블의 재사용성 (Modularization)
코드의 가독성과 유지보수성을 높이기 위해 UI를 부품화했습니다.
Card컴포저블에elevation을 주어 입체감을 더했습니다.4. 디자인 디테일
fontSize와fontWeight를 다르게 설정하여 라벨(Label)과 실제 데이터(Value) 간의 시각적 위계(Hierarchy)를 구분했습니다.RoundedCornerShape(24.dp)를 적용하여 부드러운 인상을 주었고, 깔끔한 검정색 테두리로 가독성을 높였습니다.3. 스크린샷
4. 기타