Tecnologia do Blogger.
RSS

Re: [androidbrasil-dev] Um EditText igual ao do Whatsapp

A tecla Enter? No teclado virtual?

Bota o android:imeOptions="actionDone" que eu já tinha lhe falado! :)

--
Atenciosamente,

Lucas Xavier


Em 4 de março de 2013 13:13, Gink Labrev <gink.labrev@gmail.com> escreveu:
Lucas,

o que estou tentando  fazer é justamente o contrário.
Quebrar a linha ao invés de continuar rolando horizontalmente. O problema é quando coloca "multiline" aparece a tecla "Enter". Isso que estou tentando evitar.


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 Xavier


Em 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 botar 

android:ellipsize="end"


--
Atenciosamente,

Lucas Xavier


Em 4 de março de 2013 11:59, Gink Labrev <gink.labrev@gmail.com> escreveu:
Correção: rolando horizontalmente


Em 4 de março de 2013 11:59, Gink Labrev <gink.labrev@gmail.com> escreveu:

Desisto!

Adicionei as propriedades

android: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
       <EditText
           android:layout_width="fill_parent"
           android:layout_height="wrap_content"
           android:imeOptions="actionDone"
           android:inputType="textCapWords"
           android:maxLines="5"/>

--
Atenciosamente,

Lucas Xavier


Em 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 multiline
2. Comece com uma linha e chega no máximo a 5
3. Não tenha a tecla virtual de quebra de linha
4. 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 Augusto
013 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.
 
 

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

0 comentários:

Postar um comentário