android - How to close AlertDialog with a mouse click? -


I have a alertcard with a little information about my application and without it I Close any button, just click on a mouse click on my alert dialog Is it possible to do this?

You can use

  mAlertDialog.setCanceledOnTouchOutside (true) ;   

If you click outside the dialogue, it will be rejected.

Comments