I have this problem:


Well, the words in the article are ClickableSpans that change color and typeface on click. Because of BOLD being a bit wider, some text at the end of the line moves out of the screen. Though one can scroll it sideways, I’d still like the cut- or hidden- words move to next line.
Is this possible? I have tried invalidate(), resetting textview width again, but nothing helped me.
Thank you!
There might be a few workouts to your problem.
Try any one of these attributes on your
TextView:android:layout_weight=1android:width="0dip"android:ellipsize="none"android:scrollHorizontally="false"For your scroll view,you could try:
Now within the TextView parameters, try and add one of the attributes mentioned above. Since you need wrapping after changing typeface, I’m not sure as to which attribute will fit your need.