I have a tablayout and a viewpager. What i want is to change the color of each tab when it was selected. The color of the tab should be different as depends on its position. Means each tab should have different color as per it's position.
- 1 years ago
Please share the code of your TabLayout and ViewPager's Layout.