This crashes when the fragment has launched. Could it be in the radio-button code?
RadioGroup q1;
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
q1 = (RadioGroup) getView().findViewById(R.id.radioGQ1);
q1.setOnCheckedChangeListener(this);
// Inflate the layout for this fragment
return inflater.inflate(R.layout.fragment_exercise, container, false);
}
rest -> http://pastebin.com/cRptSmD4