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?
精彩评论