ActivityGroup 内的activity 启动另一个activity方法
RelativeLayout rl = (RelativeLayout) this.getParent().getWindow().findViewById(R.id.datacontainer);rl.removeAllViews();Intent intent = new Intent(this, NewsDetailsActivity.class);intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);Window sub = ((ActivityGroup) this.getParent()).getLocalActivityManager().startActivity("NewsDetailsActivity",intent);View v = sub.getDecorView();LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(LinearLayout.LayoutParams.FILL_PARENT,LinearLayout.LayoutParams.FILL_PARENT);v.setLayoutParams(params);rl.addView(v);