From 8296ffc5ede32f258447cb2e7b086c8937f21bed Mon Sep 17 00:00:00 2001 From: Gilbert Kimutai Date: Sun, 31 Mar 2019 08:09:47 +0300 Subject: [PATCH] UI design for customer pages --- app/build.gradle | 2 +- app/src/main/AndroidManifest.xml | 8 +- .../wc/ui/onboarding/UserDetailsActivity.kt | 23 ++ .../main/res/layout/activity_user_details.xml | 34 ++ .../main/res/layout/content_user_details.xml | 220 ++++++++++ .../res/layout/customer_basic_details.xml | 220 ++++++++++ .../res/layout/customer_billing_address.xml | 381 ++++++++++++++++++ .../res/layout/customer_shipping_address.xml | 357 ++++++++++++++++ app/src/main/res/values/strings.xml | 1 + 9 files changed, 1242 insertions(+), 4 deletions(-) create mode 100644 app/src/main/java/me/gilo/wc/ui/onboarding/UserDetailsActivity.kt create mode 100644 app/src/main/res/layout/activity_user_details.xml create mode 100644 app/src/main/res/layout/content_user_details.xml create mode 100644 app/src/main/res/layout/customer_basic_details.xml create mode 100644 app/src/main/res/layout/customer_billing_address.xml create mode 100644 app/src/main/res/layout/customer_shipping_address.xml diff --git a/app/build.gradle b/app/build.gradle index 366a9f3..2128039 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -107,4 +107,4 @@ dependencies { apply plugin: 'com.google.gms.google-services' -googleServices { disableVersionCheck = true } \ No newline at end of file +googleServices { disableVersionCheck = true } diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 602c579..9298c27 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -13,6 +13,11 @@ android:supportsRtl="true" android:theme="@style/AppTheme" android:usesCleartextTraffic="true"> + + - - - + Snackbar.make(view, "Replace with your own action", Snackbar.LENGTH_LONG) + .setAction("Action", null).show() + } + } + +} diff --git a/app/src/main/res/layout/activity_user_details.xml b/app/src/main/res/layout/activity_user_details.xml new file mode 100644 index 0000000..a6acc08 --- /dev/null +++ b/app/src/main/res/layout/activity_user_details.xml @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/content_user_details.xml b/app/src/main/res/layout/content_user_details.xml new file mode 100644 index 0000000..a0dfd32 --- /dev/null +++ b/app/src/main/res/layout/content_user_details.xml @@ -0,0 +1,220 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/customer_basic_details.xml b/app/src/main/res/layout/customer_basic_details.xml new file mode 100644 index 0000000..4f17c67 --- /dev/null +++ b/app/src/main/res/layout/customer_basic_details.xml @@ -0,0 +1,220 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/customer_billing_address.xml b/app/src/main/res/layout/customer_billing_address.xml new file mode 100644 index 0000000..fb0b09f --- /dev/null +++ b/app/src/main/res/layout/customer_billing_address.xml @@ -0,0 +1,381 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/customer_shipping_address.xml b/app/src/main/res/layout/customer_shipping_address.xml new file mode 100644 index 0000000..ebd1465 --- /dev/null +++ b/app/src/main/res/layout/customer_shipping_address.xml @@ -0,0 +1,357 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 7eab091..07fede1 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -32,5 +32,6 @@ HomeActivity Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500s MyOrdersActivity + UserDetailsActivity