Question Detail

Custom color on tabs of tablayout

7 months ago Views 203 Visit Post Reply

hi,

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.


Thread Reply

Nick Johnson

- 7 months ago

Please share the code of your TabLayout and ViewPager's Layout.