title: Segment control in android
body: <p>Can any one please tell me how to make a segment control in android, exactly given below -</p>
  
  <p><img src="https://i.stack.imgur.com/dZxcn.png" alt="enter image description here"></p>
  
  <p>I am confused what images should I use . How to cut images and use them as resources to get exact same segment control like this. And which library would be perfect to achieve this ?</p>