Merge branch 'master' of https://github.com/ebivibe/SEG2105-Olympus
This commit is contained in:
		
						commit
						903a599c88
					
				
					 5 changed files with 9 additions and 1 deletions
				
			
		
							
								
								
									
										
											BIN
										
									
								
								OlympusServices/.idea/caches/build_file_checksums.ser
									
										
									
										generated
									
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								OlympusServices/.idea/caches/build_file_checksums.ser
									
										
									
										generated
									
									
									
								
							
										
											Binary file not shown.
										
									
								
							| 
						 | 
				
			
			@ -11,7 +11,7 @@ public class SignUp extends AppCompatActivity {
 | 
			
		|||
        super.onCreate(savedInstanceState);
 | 
			
		||||
        setContentView(R.layout.activity_sign_up);
 | 
			
		||||
        MaterialSpinner spinner = findViewById(R.id.RoleInput);
 | 
			
		||||
        spinner.setItems("Admin", "User", "Service Provider");
 | 
			
		||||
        spinner.setItems("User", "Service Provider");
 | 
			
		||||
        spinner.setOnItemSelectedListener(new MaterialSpinner.OnItemSelectedListener<String>() {
 | 
			
		||||
 | 
			
		||||
            @Override public void onItemSelected(MaterialSpinner view, int position, long id, String item) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -25,6 +25,7 @@
 | 
			
		|||
        android:textSize="36sp"
 | 
			
		||||
        app:fontFamily="@font/julius_sans_one" />
 | 
			
		||||
 | 
			
		||||
    //component used from https://github.com/rengwuxian/MaterialEditText
 | 
			
		||||
    <com.rengwuxian.materialedittext.MaterialEditText
 | 
			
		||||
        android:id="@+id/UsernameInput"
 | 
			
		||||
        android:layout_width="match_parent"
 | 
			
		||||
| 
						 | 
				
			
			@ -38,6 +39,7 @@
 | 
			
		|||
        app:met_primaryColor="?colorAccent"
 | 
			
		||||
        app:met_singleLineEllipsis="true" />
 | 
			
		||||
 | 
			
		||||
    //component used from https://github.com/rengwuxian/MaterialEditText
 | 
			
		||||
    <com.rengwuxian.materialedittext.MaterialEditText
 | 
			
		||||
        android:id="@+id/PasswordInput"
 | 
			
		||||
        android:layout_width="match_parent"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -33,12 +33,14 @@
 | 
			
		|||
        android:textColor="#6d81a5"
 | 
			
		||||
        android:textSize="20sp" />
 | 
			
		||||
 | 
			
		||||
    // component used from https://github.com/jaredrummler/MaterialSpinner
 | 
			
		||||
    <com.jaredrummler.materialspinner.MaterialSpinner
 | 
			
		||||
        android:id="@+id/RoleInput"
 | 
			
		||||
        android:layout_width="match_parent"
 | 
			
		||||
        android:layout_height="50dp"
 | 
			
		||||
        android:layout_marginBottom="10dp" />
 | 
			
		||||
 | 
			
		||||
    //component used from https://github.com/rengwuxian/MaterialEditText
 | 
			
		||||
    <com.rengwuxian.materialedittext.MaterialEditText
 | 
			
		||||
        android:id="@+id/UsernameInput"
 | 
			
		||||
        android:layout_width="match_parent"
 | 
			
		||||
| 
						 | 
				
			
			@ -51,6 +53,7 @@
 | 
			
		|||
        app:met_primaryColor="?colorAccent"
 | 
			
		||||
        app:met_singleLineEllipsis="true" />
 | 
			
		||||
 | 
			
		||||
    //component used from https://github.com/rengwuxian/MaterialEditText
 | 
			
		||||
    <com.rengwuxian.materialedittext.MaterialEditText
 | 
			
		||||
        android:id="@+id/PasswordInput"
 | 
			
		||||
        android:layout_width="match_parent"
 | 
			
		||||
| 
						 | 
				
			
			@ -63,6 +66,7 @@
 | 
			
		|||
        app:met_primaryColor="?colorAccent"
 | 
			
		||||
        app:met_singleLineEllipsis="true" />
 | 
			
		||||
 | 
			
		||||
    //component used from https://github.com/rengwuxian/MaterialEditText
 | 
			
		||||
    <com.rengwuxian.materialedittext.MaterialEditText
 | 
			
		||||
        android:id="@+id/FirstNameInput"
 | 
			
		||||
        android:layout_width="match_parent"
 | 
			
		||||
| 
						 | 
				
			
			@ -75,6 +79,7 @@
 | 
			
		|||
        app:met_primaryColor="?colorAccent"
 | 
			
		||||
        app:met_singleLineEllipsis="true" />
 | 
			
		||||
 | 
			
		||||
    //component used from https://github.com/rengwuxian/MaterialEditText
 | 
			
		||||
    <com.rengwuxian.materialedittext.MaterialEditText
 | 
			
		||||
        android:id="@+id/LastNameInput"
 | 
			
		||||
        android:layout_width="match_parent"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue