|
1 | 1 | 基于iconfont拓展的TextView(支持左右设置Text,设置Shape,设置span等) |
2 | 2 |
|
3 | | - |
| 3 | + |
4 | 4 | [](https://jitpack.io/#DrownCoder/EasyTextView) |
5 | 5 |  |
6 | 6 | ### 项目介绍 |
@@ -35,7 +35,7 @@ allprojects { |
35 | 35 | Step 2. Add the dependency |
36 | 36 | ``` |
37 | 37 | dependencies { |
38 | | - implementation 'com.github.DrownCoder:EasyTextView:v1.11' |
| 38 | + implementation 'com.github.DrownCoder:EasyTextView:v1.12' |
39 | 39 | } |
40 | 40 | ``` |
41 | 41 | ### 效果 |
@@ -108,6 +108,7 @@ dependencies { |
108 | 108 | <enum name="bold" value="1" /> |
109 | 109 | <enum name="italic" value="2" /> |
110 | 110 | </attr> |
| 111 | + <attr name="autoMaxHeight" format="boolean"/> |
111 | 112 | </declare-styleable> |
112 | 113 | ``` |
113 | 114 | #### java Api |
@@ -153,15 +154,21 @@ public void addSpanRight(Object object, int start, int end, int flags); |
153 | 154 | 详细使用说明参考[Wiki](https://github.com/DrownCoder/EasyTextView/wiki) |
154 | 155 |
|
155 | 156 | ### 版本更新 |
| 157 | +v1.12 |
| 158 | +>1.修复center_vertical时文字重叠问题 |
| 159 | +>2.新增boolean型autoMaxHeight属性,当为true时解决以下问题 |
| 160 | +>-修复左右文字大小大于中间文字大小高度不准问题 |
| 161 | +>-修复英文由于基线导致展示不全问题 |
| 162 | +
|
| 163 | +v1.11 |
| 164 | +>修复右侧文字颜色失效bug |
| 165 | +
|
156 | 166 | v1.1 |
157 | 167 | >1.中间的文字支持字符串(原来只支持iconfont) |
158 | 168 | >2.左边文字,中间文字,右边文字分别支持粗体和斜体 |
159 | 169 | >3.左边文字,中间文字,右边文字支持xml中设置iconfont(原来xml中只支持中间文字设置) |
160 | 170 | >4.优化了代码 |
161 | 171 |
|
162 | | -v1.11 |
163 | | ->修复右侧文字颜色失效bug |
164 | | -
|
165 | 172 | [详细版本信息](https://github.com/DrownCoder/EasyTextView/releases) |
166 | 173 |
|
167 | 174 | ### License |
|
0 commit comments