Open
Conversation
1hyok
reviewed
Mar 21, 2026
| import androidx.compose.ui.res.painterResource | ||
| import androidx.compose.ui.unit.dp | ||
| import com.example.kuit7.ui.theme.KUIT7week1Theme | ||
| class missionActivity :ComponentActivity(){ |
There was a problem hiding this comment.
액티비티 자체를 다시 만들 필요 없이 Scaffold 내부에 구현하신 부분을 실습했던 것처럼 MainActivity에 넣는 등의 방식으로 수행해 주심 됩니다~
1hyok
reviewed
Mar 21, 2026
| setContent { | ||
| KUIT7week1Theme { | ||
| Scaffold(modifier = Modifier.fillMaxSize()) { innerPadding -> | ||
| Box( |
There was a problem hiding this comment.
박스가 카드 배치와 카드 테두리를 정의를 동시에 하고 있어요.
박스는 카드 배치 역할만 하고 테두리 스타일 지정 역할은 내부 컬럼으로 넘겨 보세요. 래퍼와 내부 컴포넌트의 역할을 분리하여 코드가 직관적이게 됩니다.
이는 나중에 테두리 디자인만 수정하거나 배치만 바꾸는 것을 용이하게 합니다.
1hyok
reviewed
Mar 21, 2026
| Scaffold(modifier = Modifier.fillMaxSize()) { innerPadding -> | ||
| Box( | ||
| Modifier.padding(innerPadding) | ||
| .padding(50.dp) |
There was a problem hiding this comment.
박스 내부 컴포넌트의 배치는 패딩의 여백으로 밀어서 하기보다는 contentAlignment 파라미터를 활용해 보시기 바랍니다!
|
깔끔하게 잘 구현하신 만큼 여백도 피그마 디자인과 똑같이 하는 것도 도전해 보십쇼 👍🏿 |
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. 구현에 대한 설명
본인이 구현한 것에 대한 설명
3. 스크린샷 & 실행영상
실행영상이 있다면 실행영상을, 없다면 스크린샷 첨부
4. 기타
기타 문의사항이나 질문사항, 그 외 하고싶은 말