diff --git a/app/src/main/java/com/magdamiu/androidfundamentalsmai2021/MainActivity.java b/app/src/main/java/com/magdamiu/androidfundamentalsmai2021/MainActivity.java
index ab7184b..044fe86 100644
--- a/app/src/main/java/com/magdamiu/androidfundamentalsmai2021/MainActivity.java
+++ b/app/src/main/java/com/magdamiu/androidfundamentalsmai2021/MainActivity.java
@@ -37,17 +37,24 @@ protected void onCreate(Bundle savedInstanceState) {
/*setContentView(R.layout.sample);*/
// setContentView(R.layout.scrollview_sample);
// setContentView(R.layout.webview_sample);
- setContentView(R.layout.spinner_sample);
-
- setAndroidVersions();
- initialiseSpinnerAdapter();
- setSpinnerAdapter();
- handlingSpinnerListener();
-
- //loadUrl();
-
- // initViews();
- displayLogs();
+// setContentView(R.layout.spinner_sample);
+// setContentView(R.layout.week3_code_challenge_2);
+ setContentView(R.layout.week3_code_challenge_1);
+
+ EditText editTextEmail = findViewById(R.id.editTextEmail);
+ editTextEmail.setError("Fill the input with a valid email address");
+ EditText editTextPhone = findViewById(R.id.editTextPhone);
+ editTextPhone.setError("Fill the input with a valid phone number");
+
+// setAndroidVersions();
+// initialiseSpinnerAdapter();
+// setSpinnerAdapter();
+// handlingSpinnerListener();
+//
+// //loadUrl();
+//
+// // initViews();
+// displayLogs();
}
// step 1: data source for our spinner
diff --git a/app/src/main/res/layout/spinner_layout.xml b/app/src/main/res/layout/spinner_layout.xml
new file mode 100644
index 0000000..a848b56
--- /dev/null
+++ b/app/src/main/res/layout/spinner_layout.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/week3_code_challenge_1.xml b/app/src/main/res/layout/week3_code_challenge_1.xml
new file mode 100644
index 0000000..aa97584
--- /dev/null
+++ b/app/src/main/res/layout/week3_code_challenge_1.xml
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/week3_code_challenge_2.xml b/app/src/main/res/layout/week3_code_challenge_2.xml
new file mode 100644
index 0000000..8e4f976
--- /dev/null
+++ b/app/src/main/res/layout/week3_code_challenge_2.xml
@@ -0,0 +1,68 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml
index d8ce349..dcfa44b 100644
--- a/app/src/main/res/values/colors.xml
+++ b/app/src/main/res/values/colors.xml
@@ -8,4 +8,6 @@
#FF000000#FFFFFFFF#ff3412
+ #fbaf9c
+ #4054b2
\ No newline at end of file
diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml
index e8b2c28..7d10672 100644
--- a/app/src/main/res/values/dimens.xml
+++ b/app/src/main/res/values/dimens.xml
@@ -1,6 +1,7 @@
23sp
+ 30sp16dp128dp64dp
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 0f8b9c3..75dc4a2 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -18,4 +18,9 @@
Of course, you’d want to replace the URL after git remote add upstream with the appropriate clone URL for the original project repository. For the rest of this article, I’m going to assume you used upstream as the name for this additional Git remote. Now, you could try pushing changes to the original repository using git push at this point, but it would probably fail because you probably don’t have permission to push changes directly to the repository. Besides, it really wouldn’t be a good idea. That’s because other people might be working on the project as well, and how in the world would we keep track of everyone’s changes? That’s where branches come in.text on the righttext centered in parent
+
+ LOGIN
+ Email
+ Phone
+ SUBMIT
\ No newline at end of file