I have a TextView and I set text which I receive from Backend. the text is either from 1 to 3 words. Maximum the textview can be 2 lines. I am using setAutoSizeTextTy
setAutoSizeTextTy