In your xml file, locate the TextView element
<textview>
...
android:singleLine="false"
android:minLines="1"
...
/>
</textview>
This will set the minimum number of lines to one, and also flag that the textview is not a single line. To set the maximum number of lines, use
android:maxLines
and for a specific number of lines, use
android:lines
attributes of the
TextView
element.
P.S
If you find this useful, or if it helps you meet your objective, consider to mark it as the accepted answer for anyone else interested.