diff options
Diffstat (limited to 'branches/sca-java-1.5.1/samples/store-android/res')
-rw-r--r-- | branches/sca-java-1.5.1/samples/store-android/res/drawable/addc.png | bin | 0 -> 3391 bytes | |||
-rw-r--r-- | branches/sca-java-1.5.1/samples/store-android/res/drawable/icon.png | bin | 0 -> 3180 bytes | |||
-rw-r--r-- | branches/sca-java-1.5.1/samples/store-android/res/drawable/rems.png | bin | 0 -> 3358 bytes | |||
-rw-r--r-- | branches/sca-java-1.5.1/samples/store-android/res/layout/cat_row.xml | 19 | ||||
-rw-r--r-- | branches/sca-java-1.5.1/samples/store-android/res/layout/main.xml | 69 | ||||
-rw-r--r-- | branches/sca-java-1.5.1/samples/store-android/res/layout/shop_row.xml | 20 | ||||
-rw-r--r-- | branches/sca-java-1.5.1/samples/store-android/res/values/strings.xml | 28 |
7 files changed, 136 insertions, 0 deletions
diff --git a/branches/sca-java-1.5.1/samples/store-android/res/drawable/addc.png b/branches/sca-java-1.5.1/samples/store-android/res/drawable/addc.png Binary files differnew file mode 100644 index 0000000000..17259450d8 --- /dev/null +++ b/branches/sca-java-1.5.1/samples/store-android/res/drawable/addc.png diff --git a/branches/sca-java-1.5.1/samples/store-android/res/drawable/icon.png b/branches/sca-java-1.5.1/samples/store-android/res/drawable/icon.png Binary files differnew file mode 100644 index 0000000000..75024841d3 --- /dev/null +++ b/branches/sca-java-1.5.1/samples/store-android/res/drawable/icon.png diff --git a/branches/sca-java-1.5.1/samples/store-android/res/drawable/rems.png b/branches/sca-java-1.5.1/samples/store-android/res/drawable/rems.png Binary files differnew file mode 100644 index 0000000000..378690fad4 --- /dev/null +++ b/branches/sca-java-1.5.1/samples/store-android/res/drawable/rems.png diff --git a/branches/sca-java-1.5.1/samples/store-android/res/layout/cat_row.xml b/branches/sca-java-1.5.1/samples/store-android/res/layout/cat_row.xml new file mode 100644 index 0000000000..e7f71cb0b6 --- /dev/null +++ b/branches/sca-java-1.5.1/samples/store-android/res/layout/cat_row.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="utf-8"?> + <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:orientation="horizontal" + android:layout_width="fill_parent" + android:padding="10px" + android:layout_height="50px"> + <TextView + android:id="@+id/txtItemC" + android:layout_width="250px" + android:layout_height="30px" + android:textSize="20px" + + /> + + <ImageView android:src="@drawable/addc" + android:layout_width="30px" + android:layout_height="30px" + /> +</LinearLayout>
\ No newline at end of file diff --git a/branches/sca-java-1.5.1/samples/store-android/res/layout/main.xml b/branches/sca-java-1.5.1/samples/store-android/res/layout/main.xml new file mode 100644 index 0000000000..7f296e9ac0 --- /dev/null +++ b/branches/sca-java-1.5.1/samples/store-android/res/layout/main.xml @@ -0,0 +1,69 @@ +<?xml version="1.0" encoding="utf-8"?> +<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"> + <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"> + + <TextView + android:id="@+id/txtThx" + android:layout_width="fill_parent" + android:layout_height="30px" + android:text="@string/title_thx" + /> + <TextView + android:id="@+id/txtEmpty" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + /> + <LinearLayout + android:orientation="horizontal" + android:layout_width="fill_parent" + android:layout_height="41px"> + + <TextView + android:id="@+id/txtTotal" + android:layout_width="200px" + android:layout_height="30px" + android:text="@string/title_order" + /> + + <Button android:id="@+id/btnClean" + android:layout_width="100px" + android:layout_height="40px" + /> + </LinearLayout> + + <ListView android:id="@+id/ListView02" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + /> + + </LinearLayout> + </FrameLayout> + </LinearLayout> + +</TabHost> + diff --git a/branches/sca-java-1.5.1/samples/store-android/res/layout/shop_row.xml b/branches/sca-java-1.5.1/samples/store-android/res/layout/shop_row.xml new file mode 100644 index 0000000000..a2ffeea56f --- /dev/null +++ b/branches/sca-java-1.5.1/samples/store-android/res/layout/shop_row.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="utf-8"?> + <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:orientation="horizontal" + android:layout_width="fill_parent" + android:layout_height="50px" + android:padding="10px"> + <TextView + android:id="@+id/txtItemS" + android:layout_width="250px" + android:layout_height="30px" + android:textSize="20px" + + /> + + <ImageView android:src="@drawable/rems" + android:layout_width="30px" + android:layout_height="30px" + + /> +</LinearLayout>
\ No newline at end of file diff --git a/branches/sca-java-1.5.1/samples/store-android/res/values/strings.xml b/branches/sca-java-1.5.1/samples/store-android/res/values/strings.xml new file mode 100644 index 0000000000..33f936b510 --- /dev/null +++ b/branches/sca-java-1.5.1/samples/store-android/res/values/strings.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <string name="hello">Hello World, catalog</string> + <string name="app_name">store</string> + <string name="app_tag">Tuscany</string> + <string name="btn_clean">Erase cart</string> + <string name="btn_add_del1">Delete</string> + <string name="btn_add_del2">Add</string> + <string name="txt_empty">Nothing to display. The cart is currently empty</string> + <string name="tab_catalog">catalog_tab</string> + <string name="tab_shop">shopping_cart_tab</string> + <string name="title_catalog">Catalog Items</string> + <string name="title_shop">Shopping Cart</string> + <string name="get_tag">Catalog GET!!</string> + <string name="start_tag">Activity started</string> + <string name="txt_total">Total: </string> + <string name="add_entry_ok">Entry added: </string> + <string name="add_entry_ko">Unable to add entry: </string> + <string name="del_entry_ok">Entry removed: </string> + <string name="del_entry_ko">Unable to delete item: </string> + <string name="alert_yes">Yes</string> + <string name="alert_cancel">Cancel</string> + <string name="del_all_ok">All entries have been removed</string> + <string name="title_thx">Thanks for Shopping With Us!</string> + <string name="title_order">Your order</string> + <string name="howto_del">Click on an item below to remove it</string> + +</resources> |