单项选择题
A.直接new…Fragment()B.findFragmentById(int id)C.findFragmentByTag(String tag)D.getFragments(String tag)
A.onAttach()B.onDetach()C.onCreateView()D.onActivityCreated()
A.使用标签<包名+自定义fragment的类名/>B.需要在manifest里注册自定义的fragmentC.属性中需要定义android:fragment="xxx"D.使用<fragment/>标签来添加