- Correctly handle removing the last page when it is selected.
- Use antialiased text for the title indicators.
- New circle fill color for circle indicators.
- Fix incorrect
R.java
imports in all of the sample activities.
- New
setTypeface(Typeface)
andgetTypeface()
methods for title indicator. (Thanks Dimitri Fedorov) - Added styled tab indicator sample.
- Support for widths other than those that could be measured exactly.
- Default title indicator style is now 'underline'.
- Title indicator now allows specifying an
OnCenterItemClickListener
which will give you callbacks when the current item title has been clicked. (Thanks Chris Banes)
- Indicators now have a
notifyDataSetChanged
method which should be called when changes are made to the adapter. - Fix: Avoid
NullPointerException
s when theViewPager
is not immediately bound to the indicator.
- New
TabPageIndicator
! Uses the Ice Cream Sandwich-style action bar tabs which fill the width of the view when there are only a few tabs or provide horizontal animated scrolling when there are many. - Update to link against ACLv4r4. This will now be required in all implementing applications.
- Allow dragging the title and circle indicators to drag the pager.
- Remove orientation example as the DirectionalViewPager library has not been updated to ACLv4r4.
Maven 3 is now required when building from the command line.
- Update to support ADT 14.
- Move to
com.viewpagerindicator
package. - Move maven group and artifact to
com.viewpagerindicator:library
.
- Package changed from
com.jakewharton.android.viewpagerindicator
tocom.jakewharton.android.view
. - Add vertical orientation support to the circle indicator.
- Fix: Corrected drawing bug where a single frame would be drawn as if the pager had completed its scroll when in fact it was still scrolling. (Thanks SimonVT!)
- Fade selected title color to normal text color during the swipe to and from the center position.
- Fix: Ensure both the indicator and footer line are updated when changing the
footer color via the
setFooterColor
method.
Initial release.