//gv是一个layout的实例 gv=(LinearLayout)findViewById(R.id.linearLayout31); //加载hosttopic文本 gv.removeAllViews(); View frontView = getLocalActivityManager(). startActivity("HostTopic", new Intent(CombinActivity.this,HostTopic.class)).getDecorView(); gv.addView(frontView);