astuetz / PagerSlidingTabStrip

An interactive indicator to navigate between the different pages of a ViewPager
139 stars 44 forks source link

How to set the width of a tab? #245

Open abhimanyu209 opened 9 years ago

abhimanyu209 commented 9 years ago

Hey, Im trying to create tabs of fixed width. But I cant find the code to do it.

How should it be done?

JamFF commented 9 years ago

Because of the different content of each tab width, so set to MATCH_PAREN, if you want to modify, find tabsContainer. SetLayoutParams, configuration in the parameter

At 2015-08-19 14:42:56, "abhimanyu209" notifications@github.com wrote:

Hey, Im trying to create tabs of fixed width. But I cant find the code to do it.

How should it be done?

— Reply to this email directly or view it on GitHub.