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