We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
问题在于以下两句: mTagSize = a.getDimension(R.styleable.TagCloudView_tcvTextSize, DEFAULT_TEXT_SIZE);
tagView.setTextSize(TypedValue.COMPLEX_UNIT_SP, mTagSize);
mTagSize是pixel为单位的,和后一句的单位不匹配
The text was updated successfully, but these errors were encountered:
我也发现这个问题,你设置了文字大小后,就会发现,不同分辨率下的大小差非常大。比如: app:tcvTextSize="12sp"
Sorry, something went wrong.
感谢反馈,这里确实有问题。我已经把 tcvTextSize 的单位改成 Integer ,我会尽早提交到 JCenter
No branches or pull requests
问题在于以下两句:
mTagSize = a.getDimension(R.styleable.TagCloudView_tcvTextSize, DEFAULT_TEXT_SIZE);
tagView.setTextSize(TypedValue.COMPLEX_UNIT_SP, mTagSize);
mTagSize是pixel为单位的,和后一句的单位不匹配
The text was updated successfully, but these errors were encountered: