Hi i am using tab layout with view pager and in FragmentPagerAdapter i am using custom layout to define each view according to position.Now i want to achieve this thing as seen in this image(the one selected is more white than others). How to highlight custom view with different shading as in this image. My all tabs are same wheather are selected or unselected.
Earlier i used default text and it was working but now i am using custom view with image and text and i don't know how to apply it to custom view.
[![enter image description here](https://i.stack.imgur.com/H1H6y.png)](https://i.stack.imgur.com/H1H6y.png)