From 9ae4458e98865a671bd25326f48bba2fd587aff9 Mon Sep 17 00:00:00 2001 From: IvanaE Date: Sun, 11 Nov 2018 18:35:17 -0500 Subject: [PATCH] added latest updates --- .../olympusservices/ServiceProvider.java | 5 ++ .../main/res/layout/activity_edit_profile.xml | 74 +++++++++++++++---- .../app/src/main/res/values/styles.xml | 5 +- 3 files changed, 66 insertions(+), 18 deletions(-) diff --git a/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/ServiceProvider.java b/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/ServiceProvider.java index 8836b9f..c7b0165 100644 --- a/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/ServiceProvider.java +++ b/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/ServiceProvider.java @@ -25,6 +25,11 @@ public class ServiceProvider extends UserType { */ private int[][] availabilities; + private String address; + private String phonenumber; + private String companyname; + private boolean licensed; + /** * Constructor for the service object which takes the parameters to diff --git a/OlympusServices/app/src/main/res/layout/activity_edit_profile.xml b/OlympusServices/app/src/main/res/layout/activity_edit_profile.xml index a1165d6..0806dfd 100644 --- a/OlympusServices/app/src/main/res/layout/activity_edit_profile.xml +++ b/OlympusServices/app/src/main/res/layout/activity_edit_profile.xml @@ -20,27 +20,12 @@ android:layout_width="match_parent" android:layout_height="wrap_content"> - - - //component used from https://github.com/rengwuxian/MaterialEditText - //component used from https://github.com/rengwuxian/MaterialEditText + //component used from https://github.com/rengwuxian/MaterialEditText + + + + //component used from https://github.com/rengwuxian/MaterialEditText + + + + //component used from https://github.com/rengwuxian/MaterialEditText + + + + + + + //component used from https://github.com/rengwuxian/MaterialEditText @color/colorPrimary - @color/colorPrimaryDark - @color/colorAccent + @color/colorWhite + @color/colorWhite +