Home

Awesome

#FlycoRoundView A library helps Android built-in views easy and convenient to set round rectangle background and accordingly related shape resources can be reduced. 一个扩展原生控件支持圆角矩形框背景的库,可以减少相关shape资源文件使用. ##Demo

##Gradle

dependencies{
    compile 'com.flyco.roundview:FlycoRoundView_Lib:1.1.4@aar'
}

###Attributes

nameformatdescription
rv_backgroundColorcolorbackground color
rv_backgroundPressColorcolorbackground press color
rv_cornerRadiusdimensionbackground rectangle corner radius,unit dp
rv_strokeWidthdimensionbackground rectangle stroke width,unit dp
rv_strokeColorcolorbackground rectangle stroke color
rv_strokePressColorcolorbackground rectangle stroke press color
rv_textPressColorcolortext press color
rv_isRadiusHalfHeightbooleancorner radius is half of height
rv_isWidthHeightEqualbooleanwidth and height is the same size which is the max value of them
rv_cornerRadius_TLdimensioncorner radius top left,unit dp
rv_cornerRadius_TRdimensioncorner radius top right,unit dp
rv_cornerRadius_BLdimensioncorner radius bottom left,unit dp
rv_cornerRadius_BRdimensioncorner radius bottom right,unit dp
rv_isRippleEnablebooleanis ripple effect enable for Api21+