Tecnologia do Blogger.
RSS

Re: [androidbrasil-dev] onKey é chamado duas vezes

Senhores,
faço o uso do onKeyListener igual ao Derci e tinha o mesmo problema que ele. Entao coloquei assim e resolveu. 

  if ((event.getAction() == KeyEvent.ACTION_UP) && (keyCode == KeyEvent.KEYCODE_ENTER)) 

ele funciona do jeito que eu gostaria, porém não gostaria que entrasse esse enter no meu edit text. Vocês sabem como fazer isso?

abraços

On Tue, May 7, 2013 at 10:42 AM, Derci Santos <derciii.lima@gmail.com> wrote:
Obrigado Lucio e Thiago,

Deu certo e ficou bem esclarecido minha dúvida!

Abraços.

--
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,
Pedro Cortez

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