title: How to create ViewPager tabs in Android (modern way)
body: <p>I sucessfully created my first ViewPager slider. When I went to the creation of the tabs, I've found that <a href="https://developer.android.com/training/implementing-navigation/lateral.html" rel="nofollow">this article</a> iws deprecated. I also found that I can use PagerTitleStrip, which worked but its too ugly. I've found a library for customizing it but I needed to learn how to do it the hard way, because I want to understand how Android works. Could somebody help me understanding how it works?</p>