-
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
[init] 폰트, 색상 세팅 + 상단바 구현 #13
Conversation
build.gradle.kts
Outdated
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/src/main/res/values/strings.xml
Outdated
@@ -1,3 +1,4 @@ | |||
<resources> | |||
<string name="app_name">KREAM-Android</string> | |||
<string name="bar_search_label">"브랜드, 상품, 프로필, 태그 등"</string> |
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.
<string name="bar_search_label">"브랜드, 상품, 프로필, 태그 등"</string> | |
<!-- search_bar_hint --> | |
<string name="search_bar_hint">"브랜드, 상품, 프로필, 태그 등"</string> |
이런 식으로 string을 작성할 때 위에 어떤 뷰에서 사용되는지를 주석을 달아주면 다른 사람들이 애가 어디서 사용되는지를 한 눈에 알아볼 수 있어서 편합니다
그리고 저는 보통 string 네이밍을 할 때 어떤 뷰에서 사용되는지_상세 설명 이런 식으로 작성하는 편인 것 같아요~
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.
네이밍 좋은데 피그마 네이밍을 따라주시면 조금 더 좋을 것 같습니다
피그마에서 공통 아이콘을 보면 탑바에 들어가는 아이콘들이 icn_bar 이런 식으로 묶여있고 해당 아이템이 icn_alarm 이렇게 네이밍 되어 있잖아요. 그러면 해당 아이콘 네이밍을 ic_bar_alarm_28 이런 식으로 가져가주면 좋을 것 같아요 ~
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.
굿이욤
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.
쏘굿도링
TextField(value = editText, | ||
onValueChange = { editText = it }, | ||
label = { Text(text = stringResource(id = R.string.bar_search_label)) } | ||
) |
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.
요거는 아까 말했던대로 커스텀 해야할 것 같아용 라벨에 힌트 넣어두면 글 작성해도 쟤가 안 사라지니까 ㅜ
topBar = { | ||
Column (modifier = Modifier.fillMaxWidth()){ | ||
Row (modifier = Modifier.fillMaxWidth()){ | ||
TextField(value = editText, |
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.
weight(1f) ㄱㄱ ㅋㅋ
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.
고생했더용 ~ 머지 하세용
얘네를 Main으로 옮기는 작업은 제가 할게용
컴포즈 너무 어렵당구리
쟤네 살 빼는 건,, 일단 저도 조금 찾아볼게요 ㅜ
app/build.gradle.kts
Outdated
ktlint { | ||
disabledRules = listOf("standard:function-naming") | ||
} |
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.
이거 지워줘도 됩니다 ~
import org.sopt.kream.theme.head1Bold | ||
|
||
val pages = listOf("추천", "랭킹", "발매정보", "럭셔리", "남성", "여성", "발견") |
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 issue 🛠
Work Description ✏️
Screenshot 📸
Uncompleted Tasks 😅
To Reviewers 📢
폰트랑 색상 잘 적용되는거 같습니다~
상단 탭바 탭 패딩을 없애보려고 했는데 저자식 살이 안빠져요...