【发布时间】:2019-10-15 00:20:22
【问题描述】:
我在我的所有字符串中都添加了软连字符,但 android 在完全不同的点处断行。有没有办法只在带有软连字符或空格的点处断开线条?
请注意,我希望以 API 21 及更高版本为目标,因此使用 breakStrategy 或连字频率不是解决方案。
这些问题/答案都不适合我: Hyphenation in Android
Android:- How to add Hyphen "-" in word break android TextView below 6.0 OS
How to force hyphenation in TextView? (character "-" on word split)
【问题讨论】:
标签: android xml text line-breaks