JakeWharton/Android-ViewPagerIndicator — pull request #104 by kaeppler (2012-06-25 11:38:24+00:00)
Title: New feature: TitleBarIndicator can now split titles around their center

New attribute clipToCenter[BOOL] makes titles in TitlePageIndicator split around their center point.

This is useful if you don't know in advance how long your page labels are going to be, or if you have long titles that constantly bump into one another.

First commit contains all the feature changes. The second commit contains a code refactoring, since I found onDraw was barely legible anymore.

Tested on Nexus One and Galaxy Nexus.

I couldn't add a sample Activity, since the sample app doesn't compile for me. I think I opened an issue for that already.