@Override public void onActivityCreated(Bundle savedInstanceState) { super.onActivityCreated(savedInstanceState); tip_screen = (RelativeLayout) rootView.findViewById(R.id.tip_screen); inter_child_fragment = (FrameLayout) rootView.findViewById(R.id.inter_child_fragment); UtilTool.SetTitle(getActivity(), tip_screen); init(); }
@Override public View onCreateView( LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { rootView = inflater.inflate(R.layout.interactive_main, container, false); context = getActivity(); uid = UtilTool.getSharedPre(context, "users", "uid", "0"); SetYear(); Log.i("TabTipsActivity", "TabCaringActivity"); return rootView; }