I want to have 5 lines for the height of the text area. I am using the following code.
I think you can use layout:weight = 5 instead android:lines = 5 because when you port your app to smaller device - it does it nicely.. well, both attributes will accomplish your job..
layout:weight = 5
android:lines = 5