Material-ViewPagerIndicator
A super easy-to-use page indicator for the Android Support Library v4's ViewPager widget with Material Design ink animations.
Demo
A demo app with examples is available on Google Play. The source for the demo is the app
module in this project.
Usage
ViewPagerIndicator
is a @ViewPager.DecorView
(like Support-Design's TabLayout
and Support-v4's PagerTabStrip
and PagerTitleStrip
) widgets.
Usage is simple - just add it as a child view of your ViewPager
!
XML
Programatically
Or in code...
For more advanced usage, see the wiki.
Download
Material-ViewPagerIndicator is available via JitPack.io.
Gradle
Add JitPack to your maven repositories:
Add Material-ViewPagerIndicator to your app dependencies: