-
Notifications
You must be signed in to change notification settings - Fork 1
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
[Design/#19] 홈 화면 UI 구현 #21
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.
수고하셨습니다!
ctrl+alt+l 누르는 것 잊지 말아주세요~
<FrameLayout | ||
android:id="@+id/fragment_fv" |
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.
이 FrameLayout의 용도는 무엇인가요?
그리고 왜 FrameLayout을 사용했는지도 궁금합니다.
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.
이거.. Bottom nav가 없는 상태라 그냥 fragment 임시로 보려고 만든거에요!! 지금은 지웠습니다
<androidx.constraintlayout.widget.ConstraintLayout | ||
android:id="@+id/layout_answer_other" | ||
android:layout_width="match_parent" | ||
android:layout_height="172dp" |
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.
레이아웃의 높이의 경우 값을 숫자로 지정하는 방식을 지양해주세요.
기기 사이즈 대응이 어렵습니다!
높이의 경우 layout의 내부에 있는 여러 View들의 marginTop 또는 marginBottom을 통해 채워주세요.
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:id="@+id/layout_root" |
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.
Layout의 id 컨벤션을 통일할 필요가 있는 것 같습니다.
저는 보통 대문자를 따와서 ConstraintLayout일 경우 cl_..., FrameLayout의 경우 fl_... 형태로 작성합니다.
android:background="@drawable/shape_grey_fill_r84_rect" | ||
android:textAppearance="@style/BrandTypeBigRegular20" | ||
android:text="#1 가장 오래된 기억" |
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.
여기 텍스트가 추출이 안됐습니다!
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintEnd_toEndOf="parent"/> |
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.
layout_width가 match_parent일 경우에는 따로 Start_toStart와 End_toEnd를 지정할 필요가 없습니다!
이미 가로 길이를 모두 채우고 있기 때문입니다. 이 점 알아두세요~
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 Issues
close #19
🤔 What Did You Do