1

setCanceledOnTouchOutside doesn't work when i tap just near the dialog on outside

view story
linux-howto

http://stackoverflow.com – I have an AlertDialog : AlertDialog.Builder builder = new AlertDialog.Builder(context, AlertDialog.THEME_HOLO_LIGHT); ListAdapter adapter = new CustomDialogAdapter(context, itemsList); builder.setAdapter(adapter, listener); builder.setTitle(title); AlertDialog dialog = builder.create(); dialog.setCanceledOnTouchOutside(true); setCanceledOnTouchOutside is working only when i tap on a certain distance from the dialog.When i tap just near the dialog it doesn't get dismissed.Do you guys know a way to dismiss the dialog even when i tap just near the dialog?Thank (HowTos)