title: Tab Layout with Sliding Views
body: <p>I want to create an app that uses a tab layout with sliding views (something like this):</p>
  
  <p><img src="https://i.stack.imgur.com/miR0F.png" alt="Screenshot"></p>
  
  <p>Here's the issue: 
  I searched all over the web for a guide that could explain how to do this kind of thing but all I tried didn't work for me. I read somewhere that tabs layout is deprecated with Lollipop, so I tried to find an alternative way to do what I wanted to do, but nothing. Every tab layout app I try to create ends up with a crash while testing and I think it's due to something about the <code>ActionBar</code>, always because of the <code>ActionBar</code> Tabs are deprecated in Lollipop. I'm not going to post any code because I created so many projects that I lost their count, and also because they are quite the same.
  So, anyone could please link me a guide or explain a working method that allows to do what I explained?</p>
  
  <p>All I can say is that the app has to be used on Lollipop, so I'd like to know the compile settings to put in the gradle files.
  Another important thing is that i use Android Studio, even if most of the tutorials i find on web are about Eclipse.</p>
  
  <p>I hope to have explained in detail my problem and what i want to do and i thank you all in advance.</p>