Android Layout: how to make multiline EditText In android (HTML TextArea Equivalent)

What is TextArea equivalent in Android ?

Unfortunately Android does’t have a textarea tag,  so we need some tricky way to make it. the only text input in Android layout is only EditText, so this is how to make multiple line edittext in android :


the keys are set wanted High  and gravity to top to get the cursor in the top position of edit text.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s