Question Detail

Custom color on tabs of tablayout

3 years ago Views 713 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

- 2 years ago

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