-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
TAB选中项加粗状态有缺陷 #541
Comments
liyujiang-gzu
added a commit
to liyujiang-gzu/FlycoTabLayout
that referenced
this issue
Jan 21, 2022
<com.flyco.tablayout.SlidingTabLayout
android:id="@+id/department_main_tab"
android:layout_width="match_parent"
android:layout_height="@dimen/dp_42"
app:tl_indicator_color="#FB9B97"
app:tl_indicator_corner_radius="@dimen/dp_3"
app:tl_indicator_gravity="BOTTOM"
app:tl_indicator_height="@dimen/dp_3"
app:tl_indicator_margin_bottom="@dimen/dp_5"
app:tl_indicator_width="@dimen/dp_20"
app:tl_indicator_width_equal_title="true"
app:tl_tab_padding="@dimen/dp_20"
app:tl_textBold="SELECT"
app:tl_textSelectColor="#262525"
app:tl_textSelectSize="@dimen/sp_14"
app:tl_textUnselectColor="#999594"
app:tl_textsize="@dimen/sp_14" /> |
临时修复效果: |
Closed
liyujiang-gzu
added a commit
to liyujiang-gzu/FlycoTabLayout
that referenced
this issue
Jan 21, 2022
@H07000223 PR #543 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
updateTabStyles()
里需要加上mTextBold == TEXT_BOLD_WHEN_SELECT
的情况,不然初始化后默认选中项不会加粗:The text was updated successfully, but these errors were encountered: