(First, create an Android project and name your own Activity as HelloTabWidget in main.xml or defined by yourself
Create a TabH/OST in the. xml file. Two elements, TabWidget and FrameLayout, are required to be placed in LinearLayout. FrameLayout is used to change content.
Android Tab Function.doc)