Skip to content

Releases: lygttpod/SuperTextView

V2.4.6

13 May 09:17
Compare
Choose a tag to compare

V2.4.5

03 Feb 10:49
Compare
Choose a tag to compare

1、support AndroidX
2、add EditText

V2.4.2

16 Oct 10:24
Compare
Choose a tag to compare

修复填充色无法设为白色的bug

V2.4.1

11 Oct 08:42
Compare
Choose a tag to compare

1、fix issues 153
2、修复shadowColorAlpha失效的bug

V2.4.0

10 Oct 09:57
Compare
Choose a tag to compare
ShapeFrameLayout
ShapeLinearLayout
ShapeRelativeLayout
ShapeCardView
ShapeConstraintLayout

以上控件,新增阴影设置属性,详细用法见demo

V2.3.0

10 Sep 03:01
Compare
Choose a tag to compare

新增常用 ShapeXXXView

ShapeTextView
ShapeButton
ShapeFrameLayout
ShapeLinearLayout
ShapeRelativeLayout
ShapeCardView
ShapeConstraintLayout)

V2.2.4

05 Jun 04:06
Compare
Choose a tag to compare

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

27 Apr 02:08
Compare
Choose a tag to compare

1、代码优化
2、新增getSwitch()、setSwitchClickable()、setCbClickable()三个方法

V2.2.2

21 Apr 03:56
Compare
Choose a tag to compare

fix bug issues142

修复在点击事件里边设置setFakeBoldText()无效的bug

V2.2.1

12 Apr 14:58
Compare
Choose a tag to compare

fix bug issues139

  • 新增setDividerLineType()方法用来动态设置分割线类型
例如:
stv.setDividerLineType(type)

type类型为SuperTextView.TOP、SuperTextView.BOTTON、SuperTextView.BOTH、SuperTextView.NONE