Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Differences between textMultiLine and textLongMessage

¿In what case do I have to use which of them?

In google documentation says:

textMultiLine Can be combined with text and its variations to allow multiple lines of text in the field. If this flag is not set, the text field will be constrained to a single line.

textLongMessage Text that is the content of a long message.

But I wish use an EditText which will is multiline and with the content of a long message.

inputType Google documentation

like image 291
Fran b Avatar asked Jun 21 '12 16:06

Fran b


1 Answers

You can use multiple tags e.g.

android:inputType="textMultiLine|textLongMessage"
like image 163
ScouseChris Avatar answered Sep 18 '22 23:09

ScouseChris