Is there a way to prevent the keyboard from appearing when a dialog appears.
here is my code for my dialog box
final Dialog dialog = new Dialog(this); dialog.requestWindowFeature(Window.FEATURE_NO_TITLE); dialog.setContentView(R.layout.shopping_cart_confirm_dialog); TextView txtConfirmEmail = (TextView)dialog.findViewById(R.id.txtConfirmEmail); ... dialog.show();
Thank you very much.
source share