Android Question counting lines of text in the label or edit field

Lakhtin_V

Active Member
Licensed User
Longtime User
Hi!, I want to adjust the height of the field to display the text. I want to calculate how many lines the text will take up to adjust the height of the field. The width of the standard field does not change. And the height of the field should depend on the number of lines of text in the field. I use a font Courier with the same width of letters.
 
Top