重新设置一个activity

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

你可能感兴趣的:(Activity)