Don't wrap text in Android TextView at period in abbreviation

前端 未结 2 1478
渐次进展
渐次进展 2020-12-05 21:11

Is there a way to control where a TextView chooses to wrap its text? The issue that I\'m having is that it wants to wrap at periods - so a string like \"Available in the U.

2条回答
  •  失恋的感觉
    2020-12-05 22:02

    There is a spannable called WrapTogetherSpan. There's no documentation on it, but it sounds like text inside one shouldn't wrap.

提交回复
热议问题