Skip to content

week1 mission#1

Open
kangminzu wants to merge 1 commit intoKonkuk-KUIT:kangminzufrom
kangminzu:kangminzu/week1
Open

week1 mission#1
kangminzu wants to merge 1 commit intoKonkuk-KUIT:kangminzufrom
kangminzu:kangminzu/week1

Conversation

@kangminzu
Copy link
Copy Markdown

미션

  • [✓] 실습
  • [✓] 프로필 카드 만들기

구현에 대한 설명

  • Box -> Column -> Image/Text
  • Box : 화면 전체를 채운 뒤, 중앙에 align
  • Column : 가운데 박스 만들기 (프로필 카드 모양)
  • Image / Text : Column 내부에 적재
  • 실습 내용은 MainActivity에, 미션 내용은 ProfileActivity에 구현
  • XML 파일을 수정함으로써 현재는 ProfileActivity가 보임

스크린샷

mission1 실습

Copy link
Copy Markdown

@AyoungSe0 AyoungSe0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

전체적으로 너무 잘해주셨습니다!!! 피그마 예시와 비교했을 때 일부 상세 값이 조금 달라 보여서, 의도된 부분인지 확인해 보면 좋을 것 같습니다^_^=b
예) 글자들 간 간격, 이미지 코너의 둥근 정도 등

+) 참고로 PR 형식을 뒤늦게 올려서 확인 못하셨을 것 같은데, 다음주 PR부터는 제목 형식 맞춰서 작성해 주시면 감사하겠습니다!

.padding(20.dp),
verticalArrangement = Arrangement.spacedBy(10.dp)
) {
Image(
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

크기가 정사각형이 아닌 이미지를 정사각형으로 보이게 할 때는 이미지 왜곡이 생길 수 있습니다! contentScale을 사용해주면 원본 사진이 왜곡되지 않습니다!
예) contentScale = ContentScale.Crop

.padding(innerPadding),
contentAlignment = Alignment.Center
) {
Column(
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

배경색(흰색)도 추가해주시면 좋을 것 같습니다!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants