Skip to content

Releases: lygttpod/SuperTextView

V2.0.9

27 Jul 06:45
Compare
Choose a tag to compare

新增设置左、中、右text的background

stv:sLeftTextBackground
stv:sCenterTextBackground
stv:sRightTextBackground

以下是根据这些background实现的效果

image

V2.0.8

25 Jul 10:12
Compare
Choose a tag to compare

修复依赖后在布局中无法显示的bug
issue描述48
issue描述49

V2.0.6

21 Jul 10:18
Compare
Choose a tag to compare

1、支持列表中使用;
2、修复setXXXString("")无效的问题
issue描述

V2.0.5

18 Jul 02:40
Compare
Choose a tag to compare

修复maxEmx设置无效的bug

V2.0.4

17 Jul 08:25
Compare
Choose a tag to compare

switch添加状态回调
新增设置text的padding及背景颜色

V2.0.3

12 Jul 09:19
Compare
Choose a tag to compare

新增switch、checkbox、leftIconIv、rightIconIv的点击事件回调

supertextview
          .setSwitchCheckedChangeListener(new SuperTextView.OnSwitchCheckedChangeListener() {
            @Override
            public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
            }
        }).setCheckBoxCheckedChangeListener(new SuperTextView.OnCheckBoxCheckedChangeListener() {
            @Override
            public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
            }
        }).setLeftImageViewClickListener(new SuperTextView.OnLeftImageViewClickListener() {
            @Override
            public void onClickListener() {
            }
        }).setRightImageViewClickListener(new SuperTextView.OnRightImageViewClickListener() {
            @Override
            public void onClickListener() {
            }
        });

V2.0.2

11 Jul 03:08
Compare
Choose a tag to compare

新增:支持圆角设置(使用的圆角首先要配置sUseShape=true,然后配置相关属性即可)

新增SuperButton(实现shape的大部分属性,都可在SuperButton的xml中配置)

部分bug修复

V2.0.1

05 Jul 09:03
Compare
Choose a tag to compare

新增SwitchButton样式
目前有switchBtn和checkbox两种特殊view

stv:sRightViewType="switchBtn"
stv:sRightViewType="checkbox"

V2.0.0

04 Jul 10:09
Compare
Choose a tag to compare

重写SuperTextView

V1.1.2

07 Apr 09:31
Compare
Choose a tag to compare

新增上下分割线单独设置左右边距的属性(类似支付宝设置页面的分割线左边有margin 右边margin=0)