Skip to content
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

三星S8样式错误 #163

Open
xiasiqiu opened this issue Nov 26, 2019 · 5 comments
Open

三星S8样式错误 #163

xiasiqiu opened this issue Nov 26, 2019 · 5 comments

Comments

@xiasiqiu
Copy link

手机型号:三星S8
Android:9
OneUI:1.0
问题:
demo代码加粗,运行显示无效。使用模拟器及其他机型加粗显示正常。

@lygttpod
Copy link
Owner

lygttpod commented Dec 2, 2019

直接把demo安装在S8上也是有同样的问题么?我身边没这款手机,暂时不能做调试

@xiasiqiu
Copy link
Author

xiasiqiu commented Jan 3, 2020

直接安装demo使用代码设置粗体无效,目前我使用的方案是修改了BaseTextView的setFakeBoldText方法,通过设置TypeFace来实现加粗;

@LiWeiQiangAndroid
Copy link

测试三星A90一样,Android11,机型问题?

@lygttpod
Copy link
Owner

@xiasiqiu @LiWeiQiangAndroid

属性设置粗细在v2.1.5的时候就去掉了,修改为代码设置,因为由于自定义方法数达到最大限度128个,暂时关闭不常用属性改为代码控制

-当时文档忘记更新了。。。
image
image

@xiasiqiu
Copy link
Author

@xiasiqiu @LiWeiQiangAndroid

属性设置粗细在v2.1.5的时候就去掉了,修改为代码设置,因为由于自定义方法数达到最大限度128个,暂时关闭不常用属性改为代码控制

-当时文档忘记更新了。。。
image
image

大佬,三星这个问题就是代码设置粗细不起作用,我当时也没找到原因,通过修改TypeFace实现了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants