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

请问行距有思路可以实现吗? #52

Open
iRoxas opened this issue Nov 23, 2018 · 4 comments
Open

请问行距有思路可以实现吗? #52

iRoxas opened this issue Nov 23, 2018 · 4 comments

Comments

@iRoxas
Copy link

iRoxas commented Nov 23, 2018

请问行距要实现1.0到2.0倍这种,怎么实现呢?

@chinalwb
Copy link
Owner

这个吗? android:lineSpacingMultiplier="1.5"

可以应用,但我是基于 EditText,所以会出现文字依然从顶部开始绘制的问题。

@iRoxas
Copy link
Author

iRoxas commented Nov 26, 2018

嗯,不过转出来的html也能用行距的效果嘛?

@chinalwb
Copy link
Owner

这个是可以的,只是需要给定相应的CSS

@android-1995
Copy link

行距还是用lineSpacingExtra吧,lineSpacingMultiplier会导致图片span的行距超大

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