Is there any related examples in the ApiDemo?
I want to set some pages to the TabWidget, each page has one ListView.
Using xml Syntax Highlighting
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- >
- <TabWidget
- android:layout_width="fill_parent"
- android:layout_height="wrap_content" >
- <ListView id="@+id/lvPageOne"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- />
- <!--how to set second page -->
- </TabWidget>
- </LinearLayout>
Parsed in 0.001 seconds, using GeSHi 1.0.8.4