How to Set the Minimum Height of a TextView
added in API Level 1Makes the TextView be at least this many pixels tall. Must be a dimension value.
1. Create an Android project, if you don't already have one.
3. In the main.xml file, add the code below.
...
android:minHeight = "100dp"
/>
4. Compile and run!
Related Articles:
- Set the Maximum Viewable Lines of text in a TextView
- Set Maximum Height of TextView
- Change the number of lines of text viewable in a TextView/EditText
Resources:
http://developer.android.com/reference/android/R.attr.html#minHeight