Project: titanium
Issue TIMOB-23486: Android: Add an option to handle AlertDialog box outside touch.
*Overview:* In android, when I click outside the AlertDialog, AlertDialog box will close. I need to close AlertDialog only when I click on cancel button in AlertDialog. [https://developer.android.com/reference/android/app/Dialog.html#setCanceledOnTouchOutside(boolean)] h6.steps to reproduce 1. Just create a sample project 2. Paste the following code 3. Run it on device and click the button 4. Then touch outside the dialog 5. It dismisses, the customer wants to prevent that h6.Test Code {code:title=app.js} var win = Ti.UI.createWindow({ }); var alertDialog = Ti.UI.createButton({	title : 'ShowDialog',	height : Ti.UI.SIZE,	width : Ti.UI.SIZE, }); // Listen for click events. alertDialog.addEventListener('click', function() {	var dialog = Ti.UI.createAlertDialog({	message : 'The file has been deleted',	cancel : 1,	buttonNames : ['Confirm', 'Cancel'],	message : 'Would you like to delete the file?',	title : 'Delete'	});	dialog.show(); }); // Add to the parent view. win.add(alertDialog); win.open(); {code} Thanks
Story points: 2