Here is my layout:
Assume that you just want to have one line at first then expand it to 5 lines and you want to have maximum 10 lines.
By increasing android:lines you can define expand it how many lines.
android:lines