Skip to content

Commit 5992b25

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents a6d30ed + 0656c14 commit 5992b25

1 file changed

Lines changed: 12 additions & 5 deletions

File tree

README.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
基于iconfont拓展的TextView(支持左右设置Text,设置Shape,设置span等)
22

3-
![Wercker](https://img.shields.io/wercker/ci/wercker/docs.svg)
3+
![continuousphp](https://img.shields.io/continuousphp/git-hub/doctrine/dbal/master.svg)
44
[![](https://jitpack.io/v/DrownCoder/EasyTextView.svg)](https://jitpack.io/#DrownCoder/EasyTextView)
55
![Hex.pm](https://img.shields.io/hexpm/l/plug.svg)
66
### 项目介绍
@@ -35,7 +35,7 @@ allprojects {
3535
Step 2. Add the dependency
3636
```
3737
dependencies {
38-
implementation 'com.github.DrownCoder:EasyTextView:v1.11'
38+
implementation 'com.github.DrownCoder:EasyTextView:v1.12'
3939
}
4040
```
4141
### 效果
@@ -108,6 +108,7 @@ dependencies {
108108
<enum name="bold" value="1" />
109109
<enum name="italic" value="2" />
110110
</attr>
111+
<attr name="autoMaxHeight" format="boolean"/>
111112
</declare-styleable>
112113
```
113114
#### java Api
@@ -153,15 +154,21 @@ public void addSpanRight(Object object, int start, int end, int flags);
153154
详细使用说明参考[Wiki](https://github.com/DrownCoder/EasyTextView/wiki)
154155

155156
### 版本更新
157+
v1.12
158+
>1.修复center_vertical时文字重叠问题
159+
>2.新增boolean型autoMaxHeight属性,当为true时解决以下问题
160+
>-修复左右文字大小大于中间文字大小高度不准问题
161+
>-修复英文由于基线导致展示不全问题
162+
163+
v1.11
164+
>修复右侧文字颜色失效bug
165+
156166
v1.1
157167
>1.中间的文字支持字符串(原来只支持iconfont)
158168
>2.左边文字,中间文字,右边文字分别支持粗体和斜体
159169
>3.左边文字,中间文字,右边文字支持xml中设置iconfont(原来xml中只支持中间文字设置)
160170
>4.优化了代码
161171
162-
v1.11
163-
>修复右侧文字颜色失效bug
164-
165172
[详细版本信息](https://github.com/DrownCoder/EasyTextView/releases)
166173

167174
### License

0 commit comments

Comments
 (0)