Hello everyone, I’m having some issues trying to s...
# android
a
Hello everyone, I’m having some issues trying to set a special autoSizing behaviour for a TextView. My font size is currently 26sp, I want my size to reduce down to 22sp at most to try to fit my text on 2 lines. But if even with 22sp, my text is too long, I want it to ignore the two lines restriction and stay at 22sp but on more than 2 lines. Is there any way to achieve this?
stackoverflow 1
google 1
f
These is an autosize option to the textview where you can set a max size and a min size. Google it you will find it
a
Yes but in my case it doesn’t follow this behaviour, I want it to overflow if even at min size it’s more than maxLines