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 setShouldExpandEquallybefore setting the view pager. However, doing so in your library has no effect. 😢
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)