You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in Chinese sentence, words was not linked by or -
so the method isValidWordWrap return false everytime in Chinese sentence, and then the sizebecome smaller and smaller(;′⌒`)
If you know how to fix it for all languages, please do.
I think that what Google has today is quite good. Maybe you should try it out instead of what I've made so long ago :
Activity
AndroidDeveloperLB commentedon Aug 20, 2018
If you know how to fix it for all languages, please do.
I think that what Google has today is quite good. Maybe you should try it out instead of what I've made so long ago :
https://developer.android.com/guide/topics/ui/look-and-feel/autosizing-textview
I suggest using it together with "balanced" for "breakStrategy" :
https://developer.android.com/reference/android/widget/TextView.html#attr_android:breakStrategy