Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 1.46 KB

README.md

File metadata and controls

38 lines (29 loc) · 1.46 KB

#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