Taking a look at the API diff report for the Android "L" preview, I see that all methods related to navigation modes in the
Action bar navigation modes are deprecated and not supported by inline
toolbar action bars. Consider using other common navigation patterns
The new Android Design Support Library adds TabLayout, providing a tab implementation that matches the material design guidelines for tabs. A complete walkthrough of how to implement Tabs and
ViewPager can be found in this video
Now deprecated: The PagerTabStrip is part of the support library (and has been for some time) and serves as a direct replacement. If you prefer the newer Google Play style tabs, you can use the PagerSlidingTabStrip library or modify either of the Google provided examples SlidingTabsBasic or SlidingTabsColors as explained in this Dev Bytes video.