Wrap Text By Word In Android Textview
I have a text view that contains a paragraph of information. I would like to make the text wrap by word not by character. Currently if the word is to long it will insert a hyphen a
Solution 1:
This is a new thing in android 6 Marshmellow.
Try adding this to your TextView
android:hyphenationFrequency="none"
Solution 2:
You need to break your paragraph with /n. Also you can use non-breaking space to control line breaking.
Post a Comment for "Wrap Text By Word In Android Textview"