How to set Vertical Alignment of Text in Multiline EditText?

Waqas Anwar
25 July 2011
6418 Views

If you are creating a multiline EditText control and you want to set the vertical alignment of contents inside EditText you can set gravity property.

android:gravity="top|left"