title: Highlighting tab view pager android
body: <p>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.
  <a href="https://i.stack.imgur.com/H1H6y.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/H1H6y.png" alt="enter image description here"></a></p>