一个 android ViewPager 封装在一个圆形进度条中
A Lollipop material design styled CircularBarPager library (API 10+).
To include in your project, add this to your build.gradle file:
//CircularBarPager
compile 'com.github.orangegangsters:library:1.3.4@aar'
//CirclePageIndicator
compile 'com.viewpagerindicator:library:2.4.1@aar'
//Animations and progress value easing
compile 'com.daimajia.easing:library:2.1@aar'
Starting from version 1.3.10, we are moving to a new package name (we skipped from 1.3.4 to 1.3.10):
//CircularBarPager
compile 'com.github.omadahealth:library:1.3.11@aar'
//CirclePageIndicator
compile 'com.viewpagerindicator:library:2.4.1@aar'
//Animations and progress value easing
compile 'com.daimajia.easing:library:2.1@aar'
========
Developers: Olivier Goutay and Stoyan Dimitrov
Designers: Daniel Waldron
Look at the example app for a live example on how to use the library.
In order to use the CirclePageIndicator by Square, you need to add a repo to your main build.gradle file:
allprojects {
repositories {
maven { url 'http://dl.bintray.com/populov/maven/' }
jcenter()
}
}
========
You can change several attributes in the XML file:
You can access every components programmatically by getting the CircularBarPager object:
CircularBarPager mCircularBarPager = (CircularBarPager) findViewById(R.id.circularBarPager);
CircularBar circularBar = mCircularBarPager.getCircularBar();
ViewPager viewPager = mCircularBarPager.getViewPager();
CirclePageIndicator circlePageIndicator = mCircularBarPager.getCirclePageIndicator();
========
========
…
暂无开放 Issues,或尚未同步最近议题。