An interim solution while waiting for a patched release is to use a copy of the latest known good version of these classes (22.1.0) instead of the one bundled with the support library.
Drop the attached files into your project and setup your ViewPager
with these classes instead.
Note: do not change their package name as they rely on package protected classes in the support library.
Example using our “new” PagerTabStrip
class:
<android.support.v4.view.ViewPager
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<android.support.v4.view.PagerTabStripV22
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="top"/>
</android.support.v4.view.ViewPager>
PagerTitleStripV22.java
PagerTabStripV22.java