astuetz / PagerSlidingTabStrip

An interactive indicator to navigate between the different pages of a ViewPager
139 stars 44 forks source link

Different text colors for selected and unselected tabs #225

Closed dmitrikudrenko closed 9 years ago

dmitrikudrenko commented 9 years ago

I need in making different colors for selected and unselected tabs. I set pstsTabTextColor, but it colored all titles. Also, I'd like to color sliding line (I set pstsIndicatorColor) and I need to color under titles line (I set pstsUnderlineColor, but nothing were changed) screenshot

dmitrikudrenko commented 9 years ago

Well, for bottom line I used pstsUnderlineColor and pstsUnderlineHeight parameters. For different colors for titles I used that fork (https://github.com/jpardogo/PagerSlidingTabStrip) and set color-selector in parameter pstsTabTextColor