android:height - Change Height of an EditText

How to Change Height of an EditText

added in API Level 1

Makes the EditText be exactly this many pixels tall. 


1. Create an Android project, if you don't already have one.

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

    <EditText
           ...
       android:height="200sp"/>

3. Compile and run!