Desc:
If we use custom layout , and in this PickView we click it's child views or areas which don't consume touch events,the following will occur.
If PickView shows as a dialog, PickView will disappear directly, even if setOutSideCancelable() is true or false
If not show as a dialog and setOutSideCancelable() is true, PickView still disappears
You can easily reproduce the situation in your sample app just by adding the follwing code to MainActivity#initCustomTimePicker(), run app and once you click the top middle area of the PickView (this area doesn't consume any touch events), you will find this PickView disappeared
.isDialog(true) .setOutSideCancelable(false) .build();
Desc: If we use custom layout , and in this PickView we click it's child views or areas which don't consume touch events,the following will occur.
You can easily reproduce the situation in your sample app just by adding the follwing code to MainActivity#initCustomTimePicker(), run app and once you click the top middle area of the PickView (this area doesn't consume any touch events), you will find this PickView disappeared
.isDialog(true) .setOutSideCancelable(false) .build();