• Stars
    star
    536
  • Rank 82,794 (Top 2 %)
  • Language
    Java
  • License
    MIT License
  • Created about 9 years ago
  • Updated over 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A Page Indicator Lib is realized in a different way.

#FlycoPageIndicator

A Page Indicator Lib is realized in a different way. Support for Android 2.2 and up.

##Demo

####Here is a DemoApk download

##Gradle

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