summaryrefslogtreecommitdiffstats
path: root/branches/sca-java-1.x/samples/store-android/res/layout/main.xml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--branches/sca-java-1.x/samples/store-android/res/layout/main.xml55
1 files changed, 45 insertions, 10 deletions
diff --git a/branches/sca-java-1.x/samples/store-android/res/layout/main.xml b/branches/sca-java-1.x/samples/store-android/res/layout/main.xml
index 3a5f117d3c..f7494f5a3a 100644
--- a/branches/sca-java-1.x/samples/store-android/res/layout/main.xml
+++ b/branches/sca-java-1.x/samples/store-android/res/layout/main.xml
@@ -1,12 +1,47 @@
<?xml version="1.0" encoding="utf-8"?>
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical"
+<TabHost xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@android:id/tabhost"
android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- >
-<TextView
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:text="@string/hello"
- />
-</LinearLayout>
+ android:layout_height="fill_parent">
+ <LinearLayout
+ android:orientation="vertical"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent">
+ <TabWidget
+ android:id="@android:id/tabs"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content" />
+ <FrameLayout
+ android:id="@android:id/tabcontent"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent">
+
+
+ <ListView android:id="@+id/ListView01"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ />
+
+ <LinearLayout
+ android:id="@+id/tab02"
+ android:orientation="vertical"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent">
+
+ <ListView android:id="@+id/ListView02"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ />
+
+ <TextView
+ android:id="@+id/txtTotal"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ />
+
+ </LinearLayout>
+ </FrameLayout>
+ </LinearLayout>
+
+</TabHost>
+