I am making an application and it has an Alert Dialog in it.
Now i am checking some data I got from AlertDialog editTexts in dialog Positive button OnClick method but
Cap. Thanks for your help. through your guides i have got to know that i can disable the Alert Dialog Button. YES! its possible to disable the buttons.
Answer is:
we can disable the button using:
Button pos = Dialog.getButton(AlertDialog.BUTTON_POSITIVE).setEnabled(false); pos.setEnabled(true);