summaryrefslogtreecommitdiffstats
path: root/branches/sca-java-1.x/samples/store-android/res/layout/main.xml
diff options
context:
space:
mode:
authorlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2009-05-08 06:13:06 +0000
committerlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2009-05-08 06:13:06 +0000
commit341d3cbe04b66676e32ec041a1d305c56ad4d6cd (patch)
tree478c53907f7fde783f7ce699b0678052b454b926 /branches/sca-java-1.x/samples/store-android/res/layout/main.xml
parent0db9ffe1337dbd97bb51697086edff1bce57c0b9 (diff)
TUSCANY-2959 - Store-android patch from Sanni Lookman
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@772852 13f79535-47bb-0310-9956-ffa450edef68
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>
+