I have added TabLayout (from support library v22.2.1) to my Fragment as:
TabLayout
please use this it will solve this problem definitely