Hyphenation in Android

前端 未结 6 2057
抹茶落季
抹茶落季 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:00

    Soft hyphen worked on a Samsung Galaxy device starting with Android 4.3.

    
    Nicht ver-bund-en
    

    Since my use case was pretty narrow, I just used one soft hyphen in the word "verbunden". The Unicode \u00ad had no effect.

提交回复
热议问题