I want to limit my text view to have maximum of 5 lines, so I did:
Apparently you have to specify the inputType and set it to none in this case. It should look something like this:
inputType
none