I am wondering how I can create or use, if there is a TextView function, to automatically resize the font to fit this place.
Sometimes it needs to be larger, if any, and sometimes it needs to be reduced in font size to fit the space.
What do you say?
you can change the font in your overridden version
protected void onSizeChanged (int w, int h, int oldw, int oldh)
. To do this, just subclass the TextView.
Also check this one .