-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在列表中,item高度为wrap_content的时候,icon_with_text会异常,一直重绘高度。 #118
Comments
我感觉是这个计算高度的时候有问题。如果设置了左右icon,还需要判断text的内容高度跟左右icon的高度,不然在左右icon高度大于文字内容高度的时候会导致translateY的计算会有问题,然后导致后续的setPadding会使得mView的高度变高,在调用 invalidate()使得paddingStr.equals(mCacheMultipleIconPaddingVale)一直不成立。
|
遇到同样的问题 |
必现:只要是小米设备更换字体后且使用了icon就会出现 |
v0.0.14 版本已经修复此问题,升级版本可以解决 |
@RuffianZhong 这个仍然有问题,麻烦看一下 |
问题依然存在,小米手机 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
页面会一直不停拉升。
The text was updated successfully, but these errors were encountered: