friend's, i have an task to set horizontal swipe tabs below the header,how can i set an activity on another activity.
You need a layout which is the zone where you want to put your activity. Take a look at this link
TheLayout.removeAllViews();
View view = getLocalActivityManager().startActivity(id, intent).getDecorView();
TheLayout.addView(view, new LinearLayout.LayoutParams(LayoutParams.FILL_PARENT, LayoutParams.FILL_PARENT));
try this Is there a way to make Android tabs slide?
checkout TabActivity and TabHost in android developer site http://developer.android.com/resources/tutorials/views/hello-tabwidget.html this might help you
精彩评论