Então Lucas,
Estou fazendo isso:
<EditText
android:id="@+id/editText1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:ems="10"
android:imeOptions="actionDone"
android:inputType="textImeMultiLine"
android:maxLines="5"
android:scrollHorizontally="false"
android:singleLine="false"
android:scrollbars="vertical" >
O botão Done aparece, mas continua exibindo uma rolagem horizontal ao invés de vertical no EditText.
Abs,
Em 4 de março de 2013 14:05, Lucas Xavier <lucasxas@gmail.com> escreveu:
A tecla Enter? No teclado virtual?Bota o android:imeOptions="actionDone" que eu já tinha lhe falado! :)--Atenciosamente,
Lucas XavierEm 4 de março de 2013 13:13, Gink Labrev <gink.labrev@gmail.com> escreveu:
Quebrar a linha ao invés de continuar rolando horizontalmente. O problema é quando coloca "multiline" aparece a tecla "Enter". Isso que estou tentando evitar.Lucas,o que estou tentando fazer é justamente o contrário.
Em 4 de março de 2013 12:51, Lucas Xavier <lucasxas@gmail.com> escreveu:
Acho que achei sua resposta... Testa e me avisa:Set
android:scrollHorizontally="true"--Atenciosamente,
Lucas XavierEm 4 de março de 2013 12:48, Lucas Xavier <lucasxas@gmail.com> escreveu:Mas o restante funciona Gink? O enter com DONE ao invés de acrescentar uma linha?Tenta botarandroid:ellipsize="end"
--Atenciosamente,
Lucas XavierEm 4 de março de 2013 11:59, Gink Labrev <gink.labrev@gmail.com> escreveu:
Correção: rolando horizontalmenteEm 4 de março de 2013 11:59, Gink Labrev <gink.labrev@gmail.com> escreveu:
Desisto!Adicionei as propriedadesandroid:scrollHorizontally="false"android:singleLine="false"android:scrollbars="vertical"E continua na mesma, rolando verticalmente.Como é possível isso ?Em 4 de março de 2013 11:54, Gink Labrev <gink.labrev@gmail.com> escreveu:
Lucas,Valeu, mas não funcionou.Ao invés de quebrar a linha, está rolando horizontalmete.Vou tentar adicionar umas propriedades e posto aqui o resultado.Em 4 de março de 2013 11:43, Gabriel Augusto <gabrielaugustodm@gmail.com> escreveu:
Funcionou Gink?Precisava fazer algo parecido, com algumas pequenas mudanças..Em 3 de março de 2013 21:00, Lucas Xavier <lucasxas@gmail.com> escreveu:
Gink,Tenta algo assim<EditTextandroid:layout_width="fill_parent"android:layout_height="wrap_content"android:imeOptions="actionDone"android:inputType="textCapWords"android:maxLines="5"/>--Atenciosamente,
Lucas XavierEm 2 de março de 2013 22:52, Gink Labrev <gink.labrev@gmail.com> escreveu:
Alguém ?Em 2 de março de 2013 16:28, Gink Labrev <gink.labrev@gmail.com> escreveu:
Pessoal,É msm dificil fazer algo tão simples. ?Um EditText igual ao do Whatsapp. Que tenha as propriedades:1. Seja multiline2. Comece com uma linha e chega no máximo a 53. Não tenha a tecla virtual de quebra de linha4. Tenha um "Done" ao invés da quebra de linha.Estou quebrando a cabeça com os últimos itens, sem sucesso.--
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.
--
Att,Gabriel Augusto013 97940055--
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.
--
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