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

加粗后,调用setTabTextColors,会取消加粗效果 #54

Open
liosen opened this issue May 26, 2020 · 0 comments
Open

加粗后,调用setTabTextColors,会取消加粗效果 #54

liosen opened this issue May 26, 2020 · 0 comments

Comments

@liosen
Copy link

liosen commented May 26, 2020

<com.androidkun.xtablayout.XTabLayout
                android:id="@+id/tablayout"
                android:layout_width="match_parent"
                android:layout_height="65dp"
                app:xTabTextSelectedBold="true" />

xml文件中设置了加粗
如果在java代码中,调用了tabLayout.setTabTextColors(color1, color2);
会导致加粗效果消失

源码中 我并未看到修改xTabTextSelectedBold属性的开放方法

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant