Android multi line editText (Text area)

Posted by Faisal khan on Stack Overflow See other posts from Stack Overflow or by Faisal khan
Published on 2010-03-15T10:57:18Z Indexed on 2010/03/15 10:59 UTC
Read the original article Hit count: 905

Filed under:
|

I want to have 5 line in height text area following code i am using.

<EditText android:layout_width="fill_parent"
            android:layout_height="wrap_content" android:gravity="center"
            android:singleLine="false" android:lines="5"
            android:layout_marginLeft="10dip" android:layout_marginRight="10dip"
            />

text area looks fine but problem is cursor is blinking in the middle of the text field i want it to blink at first line first char of the text field.

© Stack Overflow or respective owner

Related posts about android

Related posts about edittext