Show softkey - get focus on EditText or AlertDialog and so on
// show softkey alertDialog.getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_VISIBLE);