title: Android: adding button to action bar tabs
body: <p>I am using ActionBar and ViewPager. So I have few tabs in my application. And I want to set a button just at the right of the tab icons in the action bar. So the question is to how implement this? Setting custom layout doesn't solve the problem. This layout just overlays the tab icons. I don't have screenshots, so I just use standart contacts application to demostrate what I really want to achieve:<br>
  That is before:</p>
  
  <p><img src="https://i.stack.imgur.com/CFR4Q.png" alt="before"></p>
  
  <p>That is what I want:</p>
  
  <p><img src="https://i.stack.imgur.com/hWa28.png" alt="after"></p>