Tecnologia do Blogger.
RSS

[androidbrasil-dev] Não consigo fazer o DialogFragment mostrar o teclado

no onResume() eu chamo este método mas ele não está abrindo o teclado:

 private void showKeyboard() {
        inputMinute
.requestFocus();
       
InputMethodManager inputMethodManager = (InputMethodManager) getActivity().getSystemService(Context.INPUT_METHOD_SERVICE);
        inputMethodManager
.showSoftInput(inputMinute, InputMethodManager.SHOW_FORCED);
   
}

Qualquer coisa, a classe está aqui.

Desde ja, obrigado.

--
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/d/optout.

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

0 comentários:

Postar um comentário