fragment 要如何添加标题栏
觅迹天涯 2016-01-16 07:58:43 activity自定义标题栏是在oncreate()中用下面的语句
this.requestWindowFeature(Window.FEATURE_CUSTOM_TITLE);
this.setContentView(R.layout.register_user);
this.getWindow().setFeatureInt(Window.FEATURE_CUSTOM_TITLE, R.layout.title);
那fragment是在哪里添加标题栏的