added latest updates
This commit is contained in:
		
							parent
							
								
									fbc434c60b
								
							
						
					
					
						commit
						9ae4458e98
					
				
					 3 changed files with 66 additions and 18 deletions
				
			
		| 
						 | 
					@ -25,6 +25,11 @@ public class ServiceProvider extends UserType {
 | 
				
			||||||
     */
 | 
					     */
 | 
				
			||||||
    private int[][] availabilities;
 | 
					    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
 | 
					     * Constructor for the service object which takes the parameters to
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -20,27 +20,12 @@
 | 
				
			||||||
            android:layout_width="match_parent"
 | 
					            android:layout_width="match_parent"
 | 
				
			||||||
            android:layout_height="wrap_content">
 | 
					            android:layout_height="wrap_content">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            <TextView
 | 
					 | 
				
			||||||
                android:id="@+id/Title"
 | 
					 | 
				
			||||||
                android:layout_width="300dp"
 | 
					 | 
				
			||||||
                android:layout_height="80dp"
 | 
					 | 
				
			||||||
                android:layout_marginBottom="10dp"
 | 
					 | 
				
			||||||
                android:gravity="center"
 | 
					 | 
				
			||||||
                android:text="Edit Profile"
 | 
					 | 
				
			||||||
                android:textAppearance="@style/TextAppearance.AppCompat.Large"
 | 
					 | 
				
			||||||
                android:textColor="@android:color/white"
 | 
					 | 
				
			||||||
                android:textSize="30sp"
 | 
					 | 
				
			||||||
                android:layout_marginTop="10dp"
 | 
					 | 
				
			||||||
                app:fontFamily="@font/julius_sans_one" />
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            //component used from https://github.com/rengwuxian/MaterialEditText
 | 
					            //component used from https://github.com/rengwuxian/MaterialEditText
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            <com.rengwuxian.materialedittext.MaterialEditText
 | 
					            <com.rengwuxian.materialedittext.MaterialEditText
 | 
				
			||||||
                android:id="@+id/FirstNameInput"
 | 
					                android:id="@+id/FirstNameInput"
 | 
				
			||||||
                android:layout_width="match_parent"
 | 
					                android:layout_width="match_parent"
 | 
				
			||||||
                android:layout_height="80dp"
 | 
					                android:layout_height="80dp"
 | 
				
			||||||
                android:layout_marginTop="30dp"
 | 
					 | 
				
			||||||
                android:background="@drawable/customborder"
 | 
					                android:background="@drawable/customborder"
 | 
				
			||||||
                android:hint="First Name"
 | 
					                android:hint="First Name"
 | 
				
			||||||
                android:textSize="15sp"
 | 
					                android:textSize="15sp"
 | 
				
			||||||
| 
						 | 
					@ -63,8 +48,65 @@
 | 
				
			||||||
                app:met_primaryColor="@color/colorWhite"
 | 
					                app:met_primaryColor="@color/colorWhite"
 | 
				
			||||||
                app:met_singleLineEllipsis="true"
 | 
					                app:met_singleLineEllipsis="true"
 | 
				
			||||||
                android:textCursorDrawable="@color/colorWhite"/>
 | 
					                android:textCursorDrawable="@color/colorWhite"/>
 | 
				
			||||||
            //component used from https://github.com/rengwuxian/MaterialEditText
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            //component used from https://github.com/rengwuxian/MaterialEditText
 | 
				
			||||||
 | 
					            <com.rengwuxian.materialedittext.MaterialEditText
 | 
				
			||||||
 | 
					                android:id="@+id/CompanyNameInput"
 | 
				
			||||||
 | 
					                android:layout_width="match_parent"
 | 
				
			||||||
 | 
					                android:layout_height="80dp"
 | 
				
			||||||
 | 
					                android:background="@drawable/customborder"
 | 
				
			||||||
 | 
					                android:hint="Company Name"
 | 
				
			||||||
 | 
					                android:textSize="15sp"
 | 
				
			||||||
 | 
					                app:met_baseColor="@android:color/white"
 | 
				
			||||||
 | 
					                app:met_floatingLabel="highlight"
 | 
				
			||||||
 | 
					                app:met_primaryColor="@color/colorWhite"
 | 
				
			||||||
 | 
					                app:met_singleLineEllipsis="true"
 | 
				
			||||||
 | 
					                android:textCursorDrawable="@color/colorWhite"/>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            //component used from https://github.com/rengwuxian/MaterialEditText
 | 
				
			||||||
 | 
					            <com.rengwuxian.materialedittext.MaterialEditText
 | 
				
			||||||
 | 
					                android:id="@+id/PhoneNumberInput"
 | 
				
			||||||
 | 
					                android:layout_width="match_parent"
 | 
				
			||||||
 | 
					                android:layout_height="80dp"
 | 
				
			||||||
 | 
					                android:background="@drawable/customborder"
 | 
				
			||||||
 | 
					                android:hint="Phone Number"
 | 
				
			||||||
 | 
					                android:textSize="15sp"
 | 
				
			||||||
 | 
					                app:met_baseColor="@android:color/white"
 | 
				
			||||||
 | 
					                app:met_floatingLabel="highlight"
 | 
				
			||||||
 | 
					                app:met_primaryColor="@color/colorWhite"
 | 
				
			||||||
 | 
					                app:met_singleLineEllipsis="true"
 | 
				
			||||||
 | 
					                android:inputType="phone"
 | 
				
			||||||
 | 
					                android:textCursorDrawable="@color/colorWhite"/>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            //component used from https://github.com/rengwuxian/MaterialEditText
 | 
				
			||||||
 | 
					            <com.rengwuxian.materialedittext.MaterialEditText
 | 
				
			||||||
 | 
					                android:id="@+id/AddressInput"
 | 
				
			||||||
 | 
					                android:layout_width="match_parent"
 | 
				
			||||||
 | 
					                android:layout_height="80dp"
 | 
				
			||||||
 | 
					                android:background="@drawable/customborder"
 | 
				
			||||||
 | 
					                android:hint="Address"
 | 
				
			||||||
 | 
					                android:textSize="15sp"
 | 
				
			||||||
 | 
					                app:met_baseColor="@android:color/white"
 | 
				
			||||||
 | 
					                app:met_floatingLabel="highlight"
 | 
				
			||||||
 | 
					                app:met_primaryColor="@color/colorWhite"
 | 
				
			||||||
 | 
					                app:met_singleLineEllipsis="true"
 | 
				
			||||||
 | 
					                android:textCursorDrawable="@color/colorWhite"/>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            <CheckBox
 | 
				
			||||||
 | 
					                android:id="@+id/checkBox"
 | 
				
			||||||
 | 
					                android:layout_width="match_parent"
 | 
				
			||||||
 | 
					                android:layout_height="wrap_content"
 | 
				
			||||||
 | 
					                android:text="Licensed"
 | 
				
			||||||
 | 
					                android:textSize="15sp"
 | 
				
			||||||
 | 
					                android:textColor="@color/colorWhite"
 | 
				
			||||||
 | 
					                android:buttonTint="@color/colorWhite"
 | 
				
			||||||
 | 
					                android:layout_marginBottom="15dp"/>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            //component used from https://github.com/rengwuxian/MaterialEditText
 | 
				
			||||||
            <com.rengwuxian.materialedittext.MaterialEditText
 | 
					            <com.rengwuxian.materialedittext.MaterialEditText
 | 
				
			||||||
                android:id="@+id/PasswordInput"
 | 
					                android:id="@+id/PasswordInput"
 | 
				
			||||||
                android:layout_width="match_parent"
 | 
					                android:layout_width="match_parent"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -4,8 +4,8 @@
 | 
				
			||||||
    <style name="AppTheme" parent="Base.Theme.AppCompat.Light.DarkActionBar">
 | 
					    <style name="AppTheme" parent="Base.Theme.AppCompat.Light.DarkActionBar">
 | 
				
			||||||
        <!-- Customize your theme here. -->
 | 
					        <!-- Customize your theme here. -->
 | 
				
			||||||
        <item name="colorPrimary">@color/colorPrimary</item>
 | 
					        <item name="colorPrimary">@color/colorPrimary</item>
 | 
				
			||||||
        <item name="colorPrimaryDark">@color/colorPrimaryDark</item>
 | 
					        <item name="colorPrimaryDark">@color/colorWhite</item>
 | 
				
			||||||
        <item name="colorAccent">@color/colorAccent</item>
 | 
					        <item name="colorAccent">@color/colorWhite</item>
 | 
				
			||||||
    </style>
 | 
					    </style>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <style name="AppTheme.Button" parent="Widget.AppCompat.Button.Colored">
 | 
					    <style name="AppTheme.Button" parent="Widget.AppCompat.Button.Colored">
 | 
				
			||||||
| 
						 | 
					@ -13,4 +13,5 @@
 | 
				
			||||||
        <item name="android:textColor">@color/colorBlack</item>
 | 
					        <item name="android:textColor">@color/colorBlack</item>
 | 
				
			||||||
    </style>
 | 
					    </style>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
</resources>
 | 
					</resources>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue