Hyphenation in Android

前端 未结 6 2051
抹茶落季
抹茶落季 2020-12-02 15:36

As part of internationalizing an Android application I have come across the need to dynamically word wrap or hyphenate at the right position.

All my strings are exte

6条回答
  •  渐次进展
    2020-12-02 16:07

    Its a new thing from Android 6 Marshmellow.

    Try adding this to your TextView xml

    android:hyphenationFrequency="none"
    

提交回复
热议问题