jpardogo / PagerSlidingTabStrip

An interactive indicator to navigate between the different pages of a ViewPager
2.19k stars 354 forks source link

The setter for 'shouldExpandEqually' doesn't work #159

Open anirvan-majumdar opened 7 years ago

anirvan-majumdar commented 7 years ago

While pstsShouldExpand works perfectly from the layout file, doing so from the application code doesn't seem to have any effect.

This issue was also plaguing the original tab strip library by astuetz (https://github.com/astuetz/PagerSlidingTabStrip/issues/12), but the solution there suggested to call the setShouldExpandEqually before setting the view pager. However, doing so in your library has no effect. 😢

Also, it appears that there's a pending PR on your repo which fixes this issue (https://github.com/jpardogo/PagerSlidingTabStrip/pull/157)