I have already read the information in this link: Use Tab with new ToolBar (AppCompat v7-21) and did a lot of research on the same.
But the problem is the SlidingTab
Just add ViewPager and SlidingTabLayout to your xml:
In your Code create an Adapter for your ViewPager (as example FragmentPagerAdapter) and bind them to your ViewPager, after bind the SlidingTabLayout to your ViewPager:
mViewPager = (ViewPager) findViewById(R.id.pager);
mViewPager.setAdapter(mSectionsPagerAdapter);
final SlidingTabLayout tabLayout = (SlidingTabLayout)findViewById(R.id.sliding_tabs);
tabLayout.setViewPager(mViewPager);