So, After a long search I have found a solution.
Every time you set text do:
setText("I am a Text",TextView.BufferType.SPANNABLE);
Or after resizing your text just do:
setText(getText(),TextView.BufferType.SPANNABLE);
More Related Contents:
- Auto Scale TextView Text to Fit within Bounds
- Is it possible to have multiple styles inside a TextView?
- How to display HTML in TextView?
- How to change fontFamily of TextView in Android
- handle textview link click in my android app
- How to make a background 20% transparent on Android
- How to set TextView textStyle such as bold, italic
- Place 2 textview beside each other with 2nd textview always visible
- setText fails to show a number as text in a TextView
- Android Spanned, SpannedString, Spannable, SpannableString and CharSequence
- Android setting with TextView for Hebrew text?
- Android update TextView in Thread and Runnable
- How to get number of lines of TextView?
- Highlighting Text Color using Html.fromHtml() in Android?
- Android: Last line of textview cut off
- Set font for all textViews in activity?
- Display all Unicode chars in TextView
- What is meant by Ems? (Android TextView)
- How to reverse the direction of marquee of a TextView
- How do I tell if my textview has been ellipsized?
- How to remove the top and bottom space on textview of Android
- Rounded corner for textview in android
- How to set margins for TextView programmatically?
- Android active link of url in TextView
- How can I detect a click on the ActionBar title?
- You must supply a resource ID for a TextView android error
- Sideways View with XML Android
- Android Linkify both web and @mentions all in the same TextView
- Android text view color doesn’t change when disabled
- Custom Fonts and Custom Textview on Android