how to implement tab layout using only one activity?
<p>official android dev website says that:「You can implement your tab content in one of two ways: use the tabs to swap Views within the same Activity,.....」</p>

<p><a href="http://developer.android.com/resources/tutorials/views/hello-tabwidget.html" rel="nofollow">http://developer.android.com/resources/tutorials/views/hello-tabwidget.html</a></p>

<p>i just wanna use tabs to swap views, no more than one activity.</p>

<p>could someone teach me how to do that?? is there any sample code?? thx ~</p>
