My problem is when dialog box is showing at that time may i click outside the dialog box, at that time my dialog box is dismissed automatically. What can i do. Please send answers with code. Thanks.
Asked
Active
Viewed 1,629 times
1 Answers
5
Hi this line is used to dismiss dialog Box.
dialog.setCanceledOnTouchOutside(true);
This line is is used for does not dismiss dialog Box.
dialog.setCanceledOnTouchOutside(false);

Jahir
- 552
- 4
- 9
- 17