Scrollable TabLayout where current Tab is always in center
I would like to design a TabLayout for an android app where the selected tab "button" is always in the center. Unfortunately I can only get the selected tab to be nearly in the center. Here are some pictures how it should look like:
https://i.stack.imgur.com/F0xgN.png▾
https://i.stack.imgur.com/xG7tV.png▾
Does anybody know how I am able to achieve this?