Skip to content
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

[1주차] 제이콥/임익주 #10

Merged
merged 2 commits into from
Oct 23, 2024

Conversation

IkJuLim
Copy link
Contributor

@IkJuLim IkJuLim commented Oct 10, 2024

closes #9

@IkJuLim IkJuLim added the 🖍 UI UI 작업 label Oct 10, 2024
@IkJuLim IkJuLim requested a review from seongh06 October 10, 2024 13:32
@IkJuLim IkJuLim self-assigned this Oct 10, 2024
Copy link
Member

@seongh06 seongh06 left a comment

Choose a reason for hiding this comment

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

수정사항 반영해주세요~ 수고하셨습니다

Copy link
Member

Choose a reason for hiding this comment

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

클릭하면 화면 이동하는것도 구현해주세요~

<TextView
android:id="@+id/textView7"
android:layout_width="94dp"
android:layout_height="17dp"
Copy link
Member

Choose a reason for hiding this comment

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

text는 width랑 height를 wrap으로 통일하는것이 좋습니다

android:text="더없이 행복한 하루였어요"
android:textAlignment="center"
android:textSize="12sp"
android:textStyle="bold"
Copy link
Member

Choose a reason for hiding this comment

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

textSize와 textStyle, font가 동일한 경우 style로 저장해서 쓰는것이 효율적인데 이 부분은 나중에 스터디때 알려드리겠습니다.

app:layout_constraintTop_toTopOf="parent">

<TextView
android:id="@+id/textView2"
Copy link
Member

Choose a reason for hiding this comment

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

id 이름을 전체적으로 규칙을 지켜서 정하면 다른 개발자가 코드 읽기 수월합니다.

android:layout_height="51dp"
android:layout_marginTop="25dp"
android:textAlignment="center"
app:layout_constraintEnd_toEndOf="@+id/textView4"
Copy link
Member

Choose a reason for hiding this comment

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

@+id는 id 이름을 지정할때 주로 쓰고
toptotop처럼 위치를 지정할 때는 @id를 주로 사용합니다.

app:layout_constraintEnd_toEndOf="@+id/textView5"
app:layout_constraintStart_toStartOf="@+id/textView5"
app:layout_constraintTop_toBottomOf="@+id/textView5"
app:srcCompat="@drawable/group_462_2" />
Copy link
Member

Choose a reason for hiding this comment

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

srcCompat의 경우 jpg파일을 사용할 수 없기때문에 src를 대부분 사용합니다.

android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:text="감정우표를 선택해주세요"
android:textAlignment="center"
Copy link
Member

Choose a reason for hiding this comment

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

wrap으로 width와 height을 지정하고 start와 end를 설정했다면 textAlignment는 불필요한 코드입니다.

@seongh06 seongh06 merged commit e732fb0 into UMC-CUK-7th:제이콥/임익주 Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🖍 UI UI 작업
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants