<EditText android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:singleLine="false"
android:lines="5"
android:layout_marginLeft="10dip"
android:layout_marginRight="10dip"
android:gravity="top|left"
/>
Here the android:lines attribute is used to set the no. of lines visible. The android:gravity attribute sets the cursor to top left corner.




