-
Notifications
You must be signed in to change notification settings - Fork 0
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] ViewPager indicator 구현 #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.
고생하셨습니다 ㅜㅜ 늦은 리뷰 죄송해요 ㅜ
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.
xml에서는 네이밍을 역순으로 하더라구요 (activity_main -> MainActivity)
indicator_tab_kream
으로 네이밍하면 좋을 것 같네요 ~
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.
탭바 커스텀하는 과정에서 맘대로 안되는 부분 많던데 고생했어...!!
<com.google.android.material.tabs.TabLayout | ||
android:id="@+id/tab_kream_indicator" | ||
android:layout_width="match_parent" | ||
android:layout_height="2dp" | ||
app:tabBackground="@color/gray04" | ||
app:tabIndicator="@drawable/shape_tab_indicator_rect_2" | ||
app:tabIndicatorAnimationMode="linear" | ||
app:tabIndicatorColor="@color/black01" | ||
app:tabIndicatorFullWidth="true" /> |
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.
화면 개수 많아지면 indicator 넓이가 짧아지나?
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.
예스예스!! tabLayout 길이가 고정되어 있어서 indicator는 총길이/화면 개수로 설정됩니당
Related issue 🛠
Work Description ✏️
Screenshot 📸
2024-05-18.202529.mp4
Uncompleted Tasks 😅
To Reviewers 📢