0

Possible Duplicate:
Android multi line editText (Text area)

I would like to work with multi-line edit text so i extended the edit texts size to 250width and 150height,but the only problem is the cursor starts or blinks at the middle of the edit text,i need it to starts at the beginning of left side of the multi-line edit text,how to do this?

Community
  • 1
  • 1
andro prabu
  • 366
  • 3
  • 13

1 Answers1

1

you have to set that edit text gravity as top .

android:gravity="top"

<EditText 
        android:layout_width="250dp"
        android:layout_height="150dp"
        android:gravity="top"/>
Chirag
  • 55,270
  • 29
  • 150
  • 194