AlertDialog.Builder的setCancelable
public AlertDialog.Builder setCancelable (boolean cancelable)
Since:
API Level 1
Sets whether the dialog is cancelable or not default is true.
设置为false,按返回键不能退出。默认为true。
AlertDialog.Builder的setCancelable
Sets whether the dialog is cancelable or not default is true.
设置为false,按返回键不能退出。默认为true。