android 直接添加一个Fragment到activity,不需要额外setContentView
getSupportFragmentManager().beginTransaction().replace(android.R.id.content,new ArticleListFragment()).commit();
posted on 2017-06-20 12:05 guangdeshishe 阅读(353) 评论(0) 编辑 收藏 举报
getSupportFragmentManager().beginTransaction().replace(android.R.id.content,new ArticleListFragment()).commit();
posted on 2017-06-20 12:05 guangdeshishe 阅读(353) 评论(0) 编辑 收藏 举报