Open farwayer opened 10 years ago
Sry, I have no time to understand what the problem is. But I can advise how to avoid this bug to someone. Fast and ugly hack: comment
scrollOffset = a.getDimensionPixelSize(R.styleable.PagerSlidingTabStrip_scrollOffset, scrollOffset);
in PagerSlidingTabStrip library, rebuild it and rebuild ti module with new library. After that scrollOffset will be defaults to 52.
By some coincidence R.styleable.PagerSlidingTabStrip_scrollOffset
takes the TypedValue.TYPE_REFERENCE
type on API 10 but getDimensionPixelSize understand only TypedValue.TYPE_DIMENTION
.
Thnx for the explanation of the quick bug fix. I can't get to rebuild the library. What steps should I do, to get the library as jar? Can you help me?
Try this fork https://github.com/ricardoalcocer/viewpager
Thanx for your answer! In my project I use this fork, but the bug is also given in this fork
Test app from you version of PagerSlidingTabStrip work fine but not ti module.