I'm looking at the Google class that was used in the Google IO called SlidingTabLayout. Inside that class, there is a method called setDistributeEvenly which allows all those tabs to have an even distribution on the screen - every tab has the same size: Align-Center SlidingTabLayout
I'm trying to do the same with the official tabLayout class: https://developer.android.com/reference/android/support/design/widget/TabLayout.html
But there doesn't seem to be a method available to make all the tabs evenly distributed.
Am I missing something and is there a method within the class which will let me do this?