-
Notifications
You must be signed in to change notification settings - Fork 44
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
Request (including code) : set tabs text colors based on page selection #178
Comments
+1 |
I hope I can use "tabs.setActivateTextColor(...)" function in the coming version. |
+1 You already made a pull request? If not, can you provide a gradle compile like |
Do you have any fork of your solution, in order to avoid deep copying the project? |
I don't know how to do the pull request. What should I do exactly ? |
oh boy, here we go! xD |
Hope this +1 |
|
@vyscond But I didn't do anything special... |
I'd like to suggest adding this feature, and I've even tried something that made it work well:
add those attributes:
in the "PagerSlidingTabStrip" file, add those:
remove the "tabTextColor" field and anything that is related to it.
in the CTOR, add this:
in the code, add setters&getters for the new fields I've written. Add this method:
call this function inside "onPageSelected" of the "PageListener" class, in the new setters, and in the end of "updateTabStyles" .
That's it.
The text was updated successfully, but these errors were encountered: