Releases: lygttpod/SuperTextView
Releases · lygttpod/SuperTextView
V2.4.6
V2.4.5
V2.4.2
V2.4.1
1、fix issues 153
2、修复shadowColorAlpha失效的bug
V2.4.0
V2.3.0
V2.2.4
1: 新增ShapeBuilder
2: 优化SuperBttton
3: SuperTextView支持ShapeBuilder
4: SuperTextView新增文字区域整体点击事件
- ShapeBuilder用法如下:
new ShapeBuilder()
.setShapeType(shapeType)
.setShapeCornersRadius(cornersRadius)
.setShapeCornersTopLeftRadius(cornersTopLeftRadius)
.setShapeCornersTopRightRadius(cornersTopRightRadius)
.setShapeCornersBottomRightRadius(cornersBottomRightRadius)
.setShapeCornersBottomLeftRadius(cornersBottomLeftRadius)
.setShapeSolidColor(solidColor)
.setShapeStrokeColor(strokeColor)
.setShapeStrokeWidth(strokeWidth)
.setShapeStrokeDashWidth(strokeDashWidth)
.setShapeStrokeDashGap(strokeDashGap)
.setShapeUseSelector(useSelector)
.setShapeSelectorNormalColor(selectorNormalColor)
.setShapeSelectorPressedColor(selectorPressedColor)
.setShapeSelectorDisableColor(selectorDisableColor)
.setShapeSizeWidth(sizeWidth)
.setShapeSizeHeight(sizeHeight)
.setShapeGradientType(gradientType)
.setShapeGradientAngle(gradientAngle)
.setShapeGradientUseLevel(gradientUseLevel)
.setShapeGradientCenterX(gradientCenterX)
.setShapeGradientCenterY(gradientCenterY)
.setShapeGradientStartColor(gradientStartColor)
.setShapeGradientCenterColor(gradientCenterColor)
.setShapeGradientEndColor(gradientEndColor)
.into(view);
V2.2.3
V2.2.2
修复在点击事件里边设置setFakeBoldText()无效的bug
V2.2.1
fix bug issues139
- 新增setDividerLineType()方法用来动态设置分割线类型
例如:
stv.setDividerLineType(type)
type类型为SuperTextView.TOP、SuperTextView.BOTTON、SuperTextView.BOTH、SuperTextView.NONE