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

[问答] TextView的lineSpacingExtra属性问题,有些机型会影响最后一行,有些不会。 #328

Open
etwge opened this issue Dec 16, 2015 · 7 comments

Comments

@etwge
Copy link

etwge commented Dec 16, 2015

网上的答案是说5.0以上不会加到最后一行,我测一些机器,魅蓝note2, 5.1, 也会添加到最后一行。请问有没有遇到这个问题,这个应该怎么解决呢?

@wangchezheng
Copy link

重写TextView::getLineHeight函数!!!

@HakuLess
Copy link

请问下,这个问题解决了么?我的也是 魅蓝note2 最后一行会+Spacing

@hljstardust
Copy link

有人解决了这个问题吗

@cheyiliu
Copy link

我也遇到这个问题了,有人解决了吗

@Fengcoder
Copy link

@wangchezheng 您试过了吗,可行吗

@Jathew
Copy link

Jathew commented Mar 13, 2017

大家有结论了吗?我们这边发现vivo和oppo的手机再5.1版本,textview没有跟随android原生版本的升级去升级。目前只好采用了兼容的方案。

@etwge
Copy link
Author

etwge commented May 31, 2017

两年前提的的问题又遇到了, 找了个方法终于解决了http://blog.csdn.net/etwge/article/details/72818859

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

7 participants