title: Android custom action bar with back and next button
body: <p>I've got a problem. I wanted to create something that looks like this:
  <a href="https://i.imgur.com/LeUJF.png" rel="nofollow noreferrer">action bar</a></p>
  
  <p><img src="https://i.stack.imgur.com/7wjQg.png" alt="enter image description here"></p>
  
  <p>Left icon would be a back button (I mean it would return to previous tab, the left one), right icon would be next button (it would go to next tab, the right one). I wanted also to make it repeatedly so when I'm on tab A (there are for example 3 tabs: A, B, C) and when I use right button, go to B, then C, and then again A and so on. The text in the middle would be a name of a tab. I would also like to make it compatible with earlier versions of android (like 2.something).</p>