/**
         * Workaround for bug in Android TimePicker where the onTimeChanged() callback
         * is not invoked when the user toggles between AM/PM. But we need to be able
         * to detect this in order to dynamically update the tab title properly when
         * the user toggles between AM/PM.
         *
         * Registered as Issue 18982:
         *
         * https://code.google.com/p/android/issues/detail?id=18982
         */
        private void FixTimePickerBug18982()
        {
            View amPmView = ((ViewGroup)_timePicker.GetChildAt(0)).GetChildAt(3);

            if (amPmView is NumberPicker)
            {
                ((NumberPicker)amPmView).SetOnValueChangedListener(this);
            }
        }