diff --git a/.idea/render.experimental.xml b/.idea/render.experimental.xml new file mode 100644 index 0000000..8ec256a --- /dev/null +++ b/.idea/render.experimental.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/app/build.gradle b/app/build.gradle index 82827be..822d3da 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -64,6 +64,7 @@ dependencies { implementation 'com.android.support.constraint:constraint-layout:2.0.2' implementation 'androidx.appcompat:appcompat:1.2.0' implementation 'androidx.constraintlayout:constraintlayout:2.0.2' + implementation 'com.google.android.material:material:1.3.0-alpha03' testImplementation 'junit:junit:4.+' androidTestImplementation 'com.android.support.test:runner:1.0.2' androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' diff --git a/app/src/main/java/com/oopcows/trackandtrigger/regandlogin/LoginActivity.java b/app/src/main/java/com/oopcows/trackandtrigger/regandlogin/LoginActivity.java index 0038352..886a23f 100644 --- a/app/src/main/java/com/oopcows/trackandtrigger/regandlogin/LoginActivity.java +++ b/app/src/main/java/com/oopcows/trackandtrigger/regandlogin/LoginActivity.java @@ -34,7 +34,7 @@ protected void onCreate(Bundle savedInstanceState) { View view = binding.getRoot(); setContentView(view); - binding.registerOrSignInButton.setOnClickListener(registerOrSignInButtonListener()); + binding.registerButton.setOnClickListener(registerOrSignInButtonListener()); GoogleSignInOptions gso = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN).requestEmail().build(); mGoogleSignInClient = GoogleSignIn.getClient(this, gso); diff --git a/app/src/main/res/layout/activity_login.xml b/app/src/main/res/layout/activity_login.xml index 2d41a79..b6f1931 100644 --- a/app/src/main/res/layout/activity_login.xml +++ b/app/src/main/res/layout/activity_login.xml @@ -9,48 +9,52 @@