JakeWharton/Android-ViewPagerIndicator — pull request #199 by IanGClifton (2013-02-18 03:43:45+00:00)
Title: Fixes disappearing title in TitlePageIndicator

The page offset returned by the ViewPager can be negative, causing a selectedPercent greater than 1f. This causes the paint to be fully transparent, resulting in a disappearing title and underline, so the selectedPercent is now capped to 1f.