@Override
    protected View onCreateDialogView() {
        final LayoutInflater inflater = LayoutInflater.from(getContext());
        picker = initPicker((TimeDurationPicker) inflater.inflate(R.layout.time_duration_picker_dialog, null));
        return picker;
    }
Gets the {@link TimeDurationPicker} used by this dialog.

@return the picker used by this dialog.
android/third_party/time-duration-picker/src/main/java/mobi/upod/timedurationpicker/TimeDurationPickerPreference.java