I am trying to launch a timepicker from a button in a fragment
I\'ve read post regarding the same problems about the Error but the codes doesn\'t match
Use getParentFragment() instead of getActivity().