diff --git a/OlympusServices/.idea/caches/build_file_checksums.ser b/OlympusServices/.idea/caches/build_file_checksums.ser index 13c6842..24e3c6b 100644 Binary files a/OlympusServices/.idea/caches/build_file_checksums.ser and b/OlympusServices/.idea/caches/build_file_checksums.ser differ diff --git a/OlympusServices/.idea/misc.xml b/OlympusServices/.idea/misc.xml index c0f68ed..99202cc 100644 --- a/OlympusServices/.idea/misc.xml +++ b/OlympusServices/.idea/misc.xml @@ -25,7 +25,7 @@ - + diff --git a/OlympusServices/app/build.gradle b/OlympusServices/app/build.gradle index 26d484b..4a8aefa 100644 --- a/OlympusServices/app/build.gradle +++ b/OlympusServices/app/build.gradle @@ -26,4 +26,8 @@ dependencies { testImplementation 'junit:junit:4.12' androidTestImplementation 'com.android.support.test:runner:1.0.2' androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' + implementation 'com.jaredrummler:material-spinner:1.2.5' + implementation 'com.android.support:design:28.0.0-alpha3' + implementation 'com.rengwuxian.materialedittext:library:2.1.4' + } diff --git a/OlympusServices/app/src/main/AndroidManifest.xml b/OlympusServices/app/src/main/AndroidManifest.xml index 7f52612..167ae5c 100644 --- a/OlympusServices/app/src/main/AndroidManifest.xml +++ b/OlympusServices/app/src/main/AndroidManifest.xml @@ -14,6 +14,7 @@ android:roundIcon="@mipmap/ic_launcher_round" android:supportsRtl="true" android:theme="@style/AppTheme"> + @@ -28,7 +29,13 @@ android:name="preloaded_fonts" android:resource="@array/preloaded_fonts" /> - + + + + + \ No newline at end of file diff --git a/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/LogIn.java b/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/LogIn.java new file mode 100644 index 0000000..02ed1f3 --- /dev/null +++ b/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/LogIn.java @@ -0,0 +1,13 @@ +package com.uottawa.olympus.olympusservices; + +import android.support.v7.app.AppCompatActivity; +import android.os.Bundle; + +public class LogIn extends AppCompatActivity { + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.activity_log_in); + } +} diff --git a/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/Main.java b/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/Main.java index 8ed92e7..f5722d9 100644 --- a/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/Main.java +++ b/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/Main.java @@ -2,6 +2,8 @@ package com.uottawa.olympus.olympusservices; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; +import android.content.Intent; +import android.view.View; public class Main extends AppCompatActivity { @@ -9,5 +11,7 @@ public class Main extends AppCompatActivity { protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); + } + } diff --git a/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/SignUp.java b/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/SignUp.java index 7c3ce39..770795e 100644 --- a/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/SignUp.java +++ b/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/SignUp.java @@ -2,13 +2,22 @@ package com.uottawa.olympus.olympusservices; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; +import com.jaredrummler.materialspinner.MaterialSpinner; +import android.support.design.widget.Snackbar; public class SignUp extends AppCompatActivity { - @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_sign_up); + MaterialSpinner spinner = findViewById(R.id.RoleInput); + spinner.setItems("Ice Cream Sandwich", "Jelly Bean", "KitKat", "Lollipop", "Marshmallow"); + spinner.setOnItemSelectedListener(new MaterialSpinner.OnItemSelectedListener() { + + @Override public void onItemSelected(MaterialSpinner view, int position, long id, String item) { + Snackbar.make(view, "Clicked " + item, Snackbar.LENGTH_LONG).show(); + } + }); } public static void main(String[] args){ diff --git a/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/Welcome.java b/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/Welcome.java new file mode 100644 index 0000000..8cf6848 --- /dev/null +++ b/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/Welcome.java @@ -0,0 +1,13 @@ +package com.uottawa.olympus.olympusservices; + +import android.support.v7.app.AppCompatActivity; +import android.os.Bundle; + +public class Welcome extends AppCompatActivity { + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.activity_welcome); + } +} diff --git a/OlympusServices/app/src/main/res/drawable/background.jpg b/OlympusServices/app/src/main/res/drawable/background.jpg new file mode 100644 index 0000000..498ab09 Binary files /dev/null and b/OlympusServices/app/src/main/res/drawable/background.jpg differ diff --git a/OlympusServices/app/src/main/res/drawable/background.png b/OlympusServices/app/src/main/res/drawable/background.png deleted file mode 100644 index 8d909a0..0000000 Binary files a/OlympusServices/app/src/main/res/drawable/background.png and /dev/null differ diff --git a/OlympusServices/app/src/main/res/layout/activity_log_in.xml b/OlympusServices/app/src/main/res/layout/activity_log_in.xml new file mode 100644 index 0000000..56bab7a --- /dev/null +++ b/OlympusServices/app/src/main/res/layout/activity_log_in.xml @@ -0,0 +1,16 @@ + + + + \ No newline at end of file diff --git a/OlympusServices/app/src/main/res/layout/activity_main.xml b/OlympusServices/app/src/main/res/layout/activity_main.xml index 2051694..8ea5186 100644 --- a/OlympusServices/app/src/main/res/layout/activity_main.xml +++ b/OlympusServices/app/src/main/res/layout/activity_main.xml @@ -16,16 +16,17 @@