从新设置一个activity

重新设置一个activity

TheLayout.removeAllViews(); 
View view = getLocalActivityManager().startActivity(id, intent).getDecorView(); 
TheLayout.addView(view, new LinearLayout.LayoutParams(LayoutParams.FILL_PARENT, LayoutParams.FILL_PARENT));