I looked at the documentation for pstsTabSwitch, but it is very confusing. Could you explain how to change the icon color of the selected tab? And is there a way you could create an xml attribute which takes care of the color change for the Icon like pstsTextActivateColor and pstsTextDeactivateColor?
I am using a ViewPagerAdapter.class which implements PagerSlidingTabStrip.IconTabProvider in my MainActivity. In my MainActivity, I have set a ViewPager.OnPageChangeListener already for my FloatingActionButton animation. I'm sure the code goes in there, but the issue is that I am generating the tabs in my ViewPagerAdapter and cannot affect them programmatically in my MainActivity.
I looked at the documentation for pstsTabSwitch, but it is very confusing. Could you explain how to change the icon color of the selected tab? And is there a way you could create an xml attribute which takes care of the color change for the Icon like pstsTextActivateColor and pstsTextDeactivateColor?
I am using a ViewPagerAdapter.class which implements PagerSlidingTabStrip.IconTabProvider in my MainActivity. In my MainActivity, I have set a ViewPager.OnPageChangeListener already for my FloatingActionButton animation. I'm sure the code goes in there, but the issue is that I am generating the tabs in my ViewPagerAdapter and cannot affect them programmatically in my MainActivity.