Lucas,
<EditText
android:id="@+id/description"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/description"
android:inputType="textShortMessage|textMultiLine"
android:maxLines="6"
android:scrollHorizontally="false"
android:scrollbars="vertical" />
Acrescentei o android:imeOptions="actionDone" para ficar a tecla "Done" ao invés de ":-)" e não funcionou.
Abs,
Em 1 de fevereiro de 2013 18:14, Lucas Xavier <lucasxas@gmail.com> escreveu:
Scroll Horizontal num editText?Vc quer dizer que o Enter está inserindo uma nova linha, certo?tenta buscar sobre "imeoptions"----Atenciosamente,
Lucas XavierEm 1 de fevereiro de 2013 16:32, Leonardo S <leonardo.s.comm@gmail.com> escreveu:Pq isso não funciona ?<EditTextandroid:id="@+id/description"android:layout_width="match_parent"android:layout_height="wrap_content"android:hint="@string/description"android:inputType="text"android:maxLines="2"android:scrollHorizontally="false" />Ele continua fazendo o scroll horizontal mesmo com a opção false lá !!Abs,Em 1 de fevereiro de 2013 03:43, Leonardo S <leonardo.s.comm@gmail.com> escreveu:
Pessoal,Indo direto a pergunta:Como se criar um EditText multiline com softKeyboard de input=text (ou seja, sem tecla de nova linha) ?Quem usa a app do twitter, deve ter notado que esta não permite dar Enter (nova linha), mas assim que o texto ultrapassa o espaço disponível na tela, quebra automaticamente uma nova linha ao invés fazer um scroll horizontal.Abs,--
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
0 comentários:
Postar um comentário