views:

33

answers:

0

I currently pop up a custom dialog with an EditText in it. Currently the keyboard will only pop up when the user clicks "into" the EditText.

Is it possible to get the keyboard to pop up for the EditText as soon as the Dialog loads?

I have tried:

editText = (EditText) findViewById(R.id.EditTextd);
editText.setFocusable(true);
editText.requestFocus();

But it hasn't worked.

Has anyone any ideas?