android custom Dialog, need to click on the area outside of the dialog, dailog disappear, how to achieve ah, I tried setCanceledOnTouch (true) method, but useless.
Reply: Have to do with the dialog?
PopupWindow you?
Reply: dialog.setCanceledOnTouchOutside (true);
Reply: Since the current is a class that inherits from Dialog in onCreate () was set up setCanceledOnTouchOutside (true), but the effect is not defined.
No comments:
Post a Comment