Android Question Auto-adjust the height of a label according to the text contained.

vecino

Well-Known Member
Licensed User
Hello, I do not know if it can be done in an easy way.
What I need is for a label to increase or decrease its height in relation to the lines of text it has.
The width is fixed. It should not be changed.
Thank you.
 

vecino

Well-Known Member
Licensed User
...OR just use the forumsearch; i´m sure there a plenty of similar questions.
I have searched and found many threads of "how to change the size of the text to fit the label", but I have not found "how to change the height of the label to fit the text".
Thank you.
 

vecino

Well-Known Member
Licensed User
Thank you :)

Certainly, I also have a hard time finding something in the forums because my English is terrible, and I do not know what words to use in the searches.
Many thanks friends.
 

vecino

Well-Known Member
Licensed User
Fabulous!!!
It's just what I need.
-2 to auto-adjust, I had not read it in the documentation. I'll have to give it a new revision.
 
Top