How to Set the Minimum Height of a TextViewadded in API Level 1
Makes 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!
- 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