I have a very simple task (at least I thought so) - make a 5 non-scrollable static tabs with icons and fragments within

![enter image description here](https://i.stack.imgur.com/GtjGJ.png)

I had spent full day on this task and I really was surprised , it seems that in modern Android API's it's hard to implement, cause all that I had found are useless:

* PagerTabStrip - it's scrollable, can't use a fixed count of displayed tabs
* ActionBar.TabListener - deprecated since API 21
* FragmentTabHost - has some bug "Exception raised during rendering: No tab known for tag null"
* SlidingTabLayout - sliding again :( can't use a fixed count of displayed tabs

Maybe I've missed something? Regards.