Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/H07000223/FlycoPageIndicator
A Page Indicator Lib is realized in a different way.
https://github.com/H07000223/FlycoPageIndicator
Last synced: about 2 months ago
JSON representation
A Page Indicator Lib is realized in a different way.
- Host: GitHub
- URL: https://github.com/H07000223/FlycoPageIndicator
- Owner: H07000223
- License: mit
- Created: 2015-10-12T07:36:56.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-18T08:57:32.000Z (almost 8 years ago)
- Last Synced: 2024-11-24T06:08:59.178Z (about 2 months ago)
- Language: Java
- Size: 1.04 MB
- Stars: 535
- Watchers: 20
- Forks: 113
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-android-ui - https://github.com/H07000223/FlycoPageIndicator
README
#FlycoPageIndicator
A Page Indicator Lib is realized in a different way. Support for Android 2.2 and up.
##Demo
![](https://github.com/H07000223/FlycoPageIndicator/blob/master/preview_FlycoPageIndicator.gif)####[Here is a DemoApk download](http://fir.im/ubrn)
##Gradle
```groovy
dependencies{
compile 'com.android.support:support-v4:22.2.1'
compile 'com.nineoldandroids:library:2.4.0'
compile 'com.flyco.pageindicator:FlycoPageIndicator_Lib:1.0.0@aar'
}
```###FlycoPageIndicaor Attributes
|name|format|description|
|:---:|:---:|:---:|
| fpi_width | dimension | indicator width, unit dp,default 6dp
| fpi_height | dimension | indicator height,unit dp,default 6dp
| fpi_gap | dimension | indicator space between two indicators,unit dp,default 6dp
| fpi_strokeWidth | dimension | width of the stroke used to draw the indicators,default 0dp
| fpi_strokeColor | color | color of the stroke used to draw the indicators,default "#ffffff"
| fpi_isSnap | boolean | Whether or not the selected indicator snaps to the indicators,default false
| fpi_selectColor | color | indicator select color ,default "#ffffff"
| fpi_unselectColor | color | indicator unselect color ,default "#88ffffff"
| fpi_cornerRadius | dimension | indicator corner raduis ,unit dp,default 3dp
| fpi_selectRes | reference | indicator select drawable resource
| fpi_unselectRes | reference | indicator unselect drawable resource##Thanks
* [NineOldAndroids](https://github.com/JakeWharton/NineOldAndroids)