android:minLines - Set the Minimum Viewable Text Lines of a TextView

How to Set the Minimum Viewable Text Lines of a TextView

android:minLines was added in API Level 1

Makes the TextView be at least this many lines tall.

1. Add a TextView in the main.xml file.

2. In the main.xml file, add the code below.

<TextView
        ...
android:minLines = "3"
/>

3. Compile and run!
http://developer.android.com/reference/android/widget/TextView.html#attr_android:minLines
http://developer.android.com/reference/android/R.attr.html#minLines