diff --git a/.DS_Store b/.DS_Store
new file mode 100644
index 00000000..55b7d664
Binary files /dev/null and b/.DS_Store differ
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000..e43b0f98
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+.DS_Store
diff --git a/exercises/.DS_Store b/exercises/.DS_Store
new file mode 100644
index 00000000..356695a4
Binary files /dev/null and b/exercises/.DS_Store differ
diff --git a/exercises/5_OOP-and-Intents/MyPhone/app/src/main/java/com/example/accesscode/myphone/DialerActivity.java b/exercises/5_OOP-and-Intents/MyPhone/app/src/main/java/com/example/accesscode/myphone/DialerActivity.java
deleted file mode 100644
index 09e62463..00000000
--- a/exercises/5_OOP-and-Intents/MyPhone/app/src/main/java/com/example/accesscode/myphone/DialerActivity.java
+++ /dev/null
@@ -1,33 +0,0 @@
-package com.example.accesscode.myphone;
-
-import android.app.Activity;
-import android.os.Bundle;
-import android.view.View;
-import android.widget.Button;
-import android.widget.EditText;
-
-/**
- * Created by amyquispe on 4/30/15.
- */
-public class DialerActivity extends Activity {
-
- @Override
- protected void onCreate(Bundle savedInstanceState) {
- super.onCreate(savedInstanceState);
- setContentView(R.layout.activity_dialer);
- Button callButton = (Button) findViewById(R.id.call_button);
- final EditText dialerText = (EditText) findViewById(R.id.dialer_text);
- callButton.setOnClickListener(new View.OnClickListener() {
- @Override
- public void onClick(View v) {
- /* get text input */
- String phoneNumber = dialerText.getText().toString();
-
- /*
- Use an implicit intent to open the user's phone app to call this number.
- http://developer.android.com/guide/components/intents-common.html#Phone
- */
- }
- });
- }
-}
diff --git a/exercises/5_OOP-and-Intents/MyPhone/app/src/main/java/com/example/accesscode/myphone/EmailActivity.java b/exercises/5_OOP-and-Intents/MyPhone/app/src/main/java/com/example/accesscode/myphone/EmailActivity.java
deleted file mode 100644
index 24934ce9..00000000
--- a/exercises/5_OOP-and-Intents/MyPhone/app/src/main/java/com/example/accesscode/myphone/EmailActivity.java
+++ /dev/null
@@ -1,37 +0,0 @@
-package com.example.accesscode.myphone;
-
-import android.app.Activity;
-import android.os.Bundle;
-import android.view.View;
-import android.widget.Button;
-import android.widget.EditText;
-
-/**
- * Created by amyquispe on 4/30/15.
- */
-public class EmailActivity extends Activity {
- @Override
- protected void onCreate(Bundle savedInstanceState) {
- super.onCreate(savedInstanceState);
- setContentView(R.layout.activity_email);
- final EditText emailSubject = (EditText) findViewById(R.id.email_subject);
- final EditText emailBody = (EditText) findViewById(R.id.email_body);
- Button mailButton = (Button) findViewById(R.id.mail_button);
- mailButton.setOnClickListener(new View.OnClickListener() {
- @Override
- public void onClick(View v) {
- String myEmailAddress = ""; /* put your email address here */
- String subject = emailSubject.getText().toString();
- String body = emailBody.getText().toString();
-
- /*
- Use an implicit intent to open up the user's email program and send
- and email with this subject and body to you.
-
- http://developer.android.com/guide/components/intents-common.html#Email
-
- */
- }
- });
- }
-}
diff --git a/exercises/5_OOP-and-Intents/MyPhone/app/src/main/java/com/example/accesscode/myphone/MainActivity.java b/exercises/5_OOP-and-Intents/MyPhone/app/src/main/java/com/example/accesscode/myphone/MainActivity.java
deleted file mode 100644
index 2e0460c9..00000000
--- a/exercises/5_OOP-and-Intents/MyPhone/app/src/main/java/com/example/accesscode/myphone/MainActivity.java
+++ /dev/null
@@ -1,66 +0,0 @@
-package com.example.accesscode.myphone;
-
-import android.support.v7.app.ActionBarActivity;
-import android.os.Bundle;
-import android.view.Menu;
-import android.view.MenuItem;
-import android.view.View;
-import android.widget.Button;
-import android.widget.Toast;
-
-
-public class MainActivity extends ActionBarActivity {
-
- @Override
- protected void onCreate(Bundle savedInstanceState) {
- super.onCreate(savedInstanceState);
- setContentView(R.layout.activity_main);
-
- /* DialerActivity */
- Button dialerButton = (Button) findViewById(R.id.dialer_button);
- dialerButton.setOnClickListener(new View.OnClickListener() {
- @Override
- public void onClick(View v) {
- Toast.makeText(getApplicationContext(), "Dialer clicked", Toast.LENGTH_SHORT).show();
- /*
- Use Explicit Intent to start DialerActivity here.
- */
- }
- });
- /* EmailActivity */
- Button emailButton = (Button) findViewById(R.id.email_button);
- emailButton.setOnClickListener(new View.OnClickListener() {
- @Override
- public void onClick(View v) {
- Toast.makeText(getApplicationContext(), "Email clicked", Toast.LENGTH_SHORT).show();
- /*
- Use Explicit Intent to start EmailActivity here.
- */
-
- }
- });
- }
-
-
- @Override
- public boolean onCreateOptionsMenu(Menu menu) {
- // Inflate the menu; this adds items to the action bar if it is present.
- getMenuInflater().inflate(R.menu.menu_main, menu);
- return true;
- }
-
- @Override
- public boolean onOptionsItemSelected(MenuItem item) {
- // Handle action bar item clicks here. The action bar will
- // automatically handle clicks on the Home/Up button, so long
- // as you specify a parent activity in AndroidManifest.xml.
- int id = item.getItemId();
-
- //noinspection SimplifiableIfStatement
- if (id == R.id.action_settings) {
- return true;
- }
-
- return super.onOptionsItemSelected(item);
- }
-}
diff --git a/exercises/5_OOP-and-Intents/MyPhone/app/src/main/res/layout/activity_dialer.xml b/exercises/5_OOP-and-Intents/MyPhone/app/src/main/res/layout/activity_dialer.xml
deleted file mode 100644
index d4bc14d3..00000000
--- a/exercises/5_OOP-and-Intents/MyPhone/app/src/main/res/layout/activity_dialer.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/exercises/5_OOP-and-Intents/MyPhone/app/src/main/res/layout/activity_email.xml b/exercises/5_OOP-and-Intents/MyPhone/app/src/main/res/layout/activity_email.xml
deleted file mode 100644
index da926c48..00000000
--- a/exercises/5_OOP-and-Intents/MyPhone/app/src/main/res/layout/activity_email.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/exercises/5_OOP-and-Intents/MyPhone/app/src/main/res/layout/activity_main.xml b/exercises/5_OOP-and-Intents/MyPhone/app/src/main/res/layout/activity_main.xml
deleted file mode 100644
index 5a281d5a..00000000
--- a/exercises/5_OOP-and-Intents/MyPhone/app/src/main/res/layout/activity_main.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
-
-
-
-
-
diff --git a/exercises/5_OOP-and-Intents/MyPhone/app/src/main/res/values/strings.xml b/exercises/5_OOP-and-Intents/MyPhone/app/src/main/res/values/strings.xml
deleted file mode 100644
index 0ddeb50a..00000000
--- a/exercises/5_OOP-and-Intents/MyPhone/app/src/main/res/values/strings.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
- MyPhone
-
- Hello world!
- Settings
-
diff --git a/exercises/5_OOP-and-Intents/oop/src/Instrument.java b/exercises/5_OOP-and-Intents/oop/src/Instrument.java
deleted file mode 100644
index e3f342e9..00000000
--- a/exercises/5_OOP-and-Intents/oop/src/Instrument.java
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Created by amyquispe on 4/30/15.
- */
-public interface Instrument {
- /* expected behavior: when play() is called, return a String that represents the Instrument's noise */
- public String play();
-}
diff --git a/exercises/5_OOP-and-Intents/oop/src/Musician.java b/exercises/5_OOP-and-Intents/oop/src/Musician.java
deleted file mode 100644
index fe90f5ff..00000000
--- a/exercises/5_OOP-and-Intents/oop/src/Musician.java
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Created by amyquispe on 4/30/15.
- */
-public abstract class Musician {
- /* expected behavior: when play_instrument() is called, return a String that represents the instrument's noise */
- public abstract String play_instrument();
-}
diff --git a/homework/.DS_Store b/homework/.DS_Store
new file mode 100644
index 00000000..46cfd339
Binary files /dev/null and b/homework/.DS_Store differ
diff --git a/homework/week-2/AnthonyFermin/Horoscope/.gitignore b/homework/week-2/AnthonyFermin/Horoscope/.gitignore
new file mode 100644
index 00000000..afbdab33
--- /dev/null
+++ b/homework/week-2/AnthonyFermin/Horoscope/.gitignore
@@ -0,0 +1,6 @@
+.gradle
+/local.properties
+/.idea/workspace.xml
+/.idea/libraries
+.DS_Store
+/build
diff --git a/homework/week-2/AnthonyFermin/Horoscope/.idea/.name b/homework/week-2/AnthonyFermin/Horoscope/.idea/.name
new file mode 100644
index 00000000..b6e2a0b0
--- /dev/null
+++ b/homework/week-2/AnthonyFermin/Horoscope/.idea/.name
@@ -0,0 +1 @@
+Horoscope
\ No newline at end of file
diff --git a/homework/week-2/AnthonyFermin/Horoscope/.idea/compiler.xml b/homework/week-2/AnthonyFermin/Horoscope/.idea/compiler.xml
new file mode 100644
index 00000000..217af471
--- /dev/null
+++ b/homework/week-2/AnthonyFermin/Horoscope/.idea/compiler.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/homework/week-2/AnthonyFermin/Horoscope/.idea/copyright/profiles_settings.xml b/homework/week-2/AnthonyFermin/Horoscope/.idea/copyright/profiles_settings.xml
new file mode 100644
index 00000000..e7bedf33
--- /dev/null
+++ b/homework/week-2/AnthonyFermin/Horoscope/.idea/copyright/profiles_settings.xml
@@ -0,0 +1,3 @@
+
+
+
\ No newline at end of file
diff --git a/homework/week-2/AnthonyFermin/Horoscope/.idea/encodings.xml b/homework/week-2/AnthonyFermin/Horoscope/.idea/encodings.xml
new file mode 100644
index 00000000..e206d70d
--- /dev/null
+++ b/homework/week-2/AnthonyFermin/Horoscope/.idea/encodings.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
diff --git a/homework/week-2/AnthonyFermin/Horoscope/.idea/gradle.xml b/homework/week-2/AnthonyFermin/Horoscope/.idea/gradle.xml
new file mode 100644
index 00000000..736c7b5c
--- /dev/null
+++ b/homework/week-2/AnthonyFermin/Horoscope/.idea/gradle.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
diff --git a/homework/week-2/AnthonyFermin/Horoscope/.idea/misc.xml b/homework/week-2/AnthonyFermin/Horoscope/.idea/misc.xml
new file mode 100644
index 00000000..fc782bc4
--- /dev/null
+++ b/homework/week-2/AnthonyFermin/Horoscope/.idea/misc.xml
@@ -0,0 +1,113 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ localhost
+ 5050
+
+
+
+
diff --git a/homework/week-2/AnthonyFermin/Horoscope/.idea/modules.xml b/homework/week-2/AnthonyFermin/Horoscope/.idea/modules.xml
new file mode 100644
index 00000000..86657337
--- /dev/null
+++ b/homework/week-2/AnthonyFermin/Horoscope/.idea/modules.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/homework/week-2/AnthonyFermin/Horoscope/.idea/scopes/scope_settings.xml b/homework/week-2/AnthonyFermin/Horoscope/.idea/scopes/scope_settings.xml
new file mode 100644
index 00000000..922003b8
--- /dev/null
+++ b/homework/week-2/AnthonyFermin/Horoscope/.idea/scopes/scope_settings.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/homework/week-2/AnthonyFermin/Horoscope/.idea/vcs.xml b/homework/week-2/AnthonyFermin/Horoscope/.idea/vcs.xml
new file mode 100644
index 00000000..def6a6a1
--- /dev/null
+++ b/homework/week-2/AnthonyFermin/Horoscope/.idea/vcs.xml
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/homework/week-2/AnthonyFermin/Horoscope/Horoscope.iml b/homework/week-2/AnthonyFermin/Horoscope/Horoscope.iml
new file mode 100644
index 00000000..0bb6048a
--- /dev/null
+++ b/homework/week-2/AnthonyFermin/Horoscope/Horoscope.iml
@@ -0,0 +1,19 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/homework/week-2/AnthonyFermin/Horoscope/app/.gitignore b/homework/week-2/AnthonyFermin/Horoscope/app/.gitignore
new file mode 100644
index 00000000..796b96d1
--- /dev/null
+++ b/homework/week-2/AnthonyFermin/Horoscope/app/.gitignore
@@ -0,0 +1 @@
+/build
diff --git a/homework/week-2/AnthonyFermin/Horoscope/app/app.iml b/homework/week-2/AnthonyFermin/Horoscope/app/app.iml
new file mode 100644
index 00000000..b2b8360b
--- /dev/null
+++ b/homework/week-2/AnthonyFermin/Horoscope/app/app.iml
@@ -0,0 +1,93 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/exercises/5_OOP-and-Intents/MyPhone/app/build.gradle b/homework/week-2/AnthonyFermin/Horoscope/app/build.gradle
similarity index 67%
rename from exercises/5_OOP-and-Intents/MyPhone/app/build.gradle
rename to homework/week-2/AnthonyFermin/Horoscope/app/build.gradle
index f2d962df..9d54d046 100644
--- a/exercises/5_OOP-and-Intents/MyPhone/app/build.gradle
+++ b/homework/week-2/AnthonyFermin/Horoscope/app/build.gradle
@@ -1,13 +1,13 @@
apply plugin: 'com.android.application'
android {
- compileSdkVersion 21
- buildToolsVersion "21.1.2"
+ compileSdkVersion 22
+ buildToolsVersion "22.0.1"
defaultConfig {
- applicationId "com.example.accesscode.myphone"
+ applicationId "nyc.c4q.anthonyfermin.horoscope"
minSdkVersion 15
- targetSdkVersion 21
+ targetSdkVersion 22
versionCode 1
versionName "1.0"
}
@@ -21,5 +21,5 @@ android {
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
- compile 'com.android.support:appcompat-v7:22.0.0'
+ compile 'com.android.support:appcompat-v7:22.1.1'
}
diff --git a/exercises/5_OOP-and-Intents/MyPhone/app/proguard-rules.pro b/homework/week-2/AnthonyFermin/Horoscope/app/proguard-rules.pro
similarity index 87%
rename from exercises/5_OOP-and-Intents/MyPhone/app/proguard-rules.pro
rename to homework/week-2/AnthonyFermin/Horoscope/app/proguard-rules.pro
index 1109d47e..3ca7ccca 100644
--- a/exercises/5_OOP-and-Intents/MyPhone/app/proguard-rules.pro
+++ b/homework/week-2/AnthonyFermin/Horoscope/app/proguard-rules.pro
@@ -1,6 +1,6 @@
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
-# in /Users/amyquispe/Library/Android/sdk/tools/proguard/proguard-android.txt
+# in /Users/c4q-anthonyf/Library/Android/sdk/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
diff --git a/exercises/5_OOP-and-Intents/MyPhone/app/src/androidTest/java/com/example/accesscode/myphone/ApplicationTest.java b/homework/week-2/AnthonyFermin/Horoscope/app/src/androidTest/java/nyc/c4q/anthonyfermin/horoscope/ApplicationTest.java
similarity index 88%
rename from exercises/5_OOP-and-Intents/MyPhone/app/src/androidTest/java/com/example/accesscode/myphone/ApplicationTest.java
rename to homework/week-2/AnthonyFermin/Horoscope/app/src/androidTest/java/nyc/c4q/anthonyfermin/horoscope/ApplicationTest.java
index 1f9ab7ae..6a8f129f 100644
--- a/exercises/5_OOP-and-Intents/MyPhone/app/src/androidTest/java/com/example/accesscode/myphone/ApplicationTest.java
+++ b/homework/week-2/AnthonyFermin/Horoscope/app/src/androidTest/java/nyc/c4q/anthonyfermin/horoscope/ApplicationTest.java
@@ -1,4 +1,4 @@
-package com.example.accesscode.myphone;
+package nyc.c4q.anthonyfermin.horoscope;
import android.app.Application;
import android.test.ApplicationTestCase;
diff --git a/exercises/5_OOP-and-Intents/MyPhone/app/src/main/AndroidManifest.xml b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/AndroidManifest.xml
similarity index 63%
rename from exercises/5_OOP-and-Intents/MyPhone/app/src/main/AndroidManifest.xml
rename to homework/week-2/AnthonyFermin/Horoscope/app/src/main/AndroidManifest.xml
index 832d95e8..212704bc 100644
--- a/exercises/5_OOP-and-Intents/MyPhone/app/src/main/AndroidManifest.xml
+++ b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/AndroidManifest.xml
@@ -1,22 +1,24 @@
+ package="nyc.c4q.anthonyfermin.horoscope" >
+
+
+ android:theme="@style/AppTheme">
+ android:name=".Main"
+ android:label="@string/app_name"
+ android:screenOrientation="portrait">
-
diff --git a/homework/week-2/AnthonyFermin/Horoscope/app/src/main/java/nyc/c4q/anthonyfermin/horoscope/GetSignFragment.java b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/java/nyc/c4q/anthonyfermin/horoscope/GetSignFragment.java
new file mode 100644
index 00000000..e2bf7218
--- /dev/null
+++ b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/java/nyc/c4q/anthonyfermin/horoscope/GetSignFragment.java
@@ -0,0 +1,89 @@
+package nyc.c4q.anthonyfermin.horoscope;
+
+import android.app.Fragment;
+import android.os.Bundle;
+import android.view.LayoutInflater;
+import android.view.View;
+import android.view.ViewGroup;
+import android.widget.ArrayAdapter;
+import android.widget.Button;
+import android.widget.Spinner;
+
+public class GetSignFragment extends Fragment {
+ public static final String ARG_LIST_NUMBER = "list_number";
+
+ public GetSignFragment() {
+ // Empty constructor required for fragment subclasses
+ }
+
+ @Override
+ public View onCreateView(LayoutInflater inflater, ViewGroup container,
+ Bundle savedInstanceState) {
+ View rootView = inflater.inflate(R.layout.fragment_get_sign, container, false);
+
+ final Spinner monthSpinner = (Spinner) rootView.findViewById(R.id.monthSpinner);
+ // Create an ArrayAdapter using the string array and a default spinner layout
+ ArrayAdapter monthAdapter = ArrayAdapter.createFromResource(this.getActivity(),
+ R.array.months_array, android.R.layout.simple_spinner_item);
+ // Specify the layout to use when the list of choices appears
+ monthAdapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
+ // Apply the adapter to the spinner
+ monthSpinner.setAdapter(monthAdapter);
+
+ Integer[] days = new Integer[31];
+ for (int i = 1; i <= 31; i++) {
+ days[i-1] = (i);
+ }
+
+ final Spinner daySpinner = (Spinner) rootView.findViewById(R.id.daySpinner);
+ // Create an ArrayAdapter using the string array and a default spinner layout
+ ArrayAdapter dayAdapter = new ArrayAdapter(this.getActivity(),
+ android.R.layout.simple_spinner_item, days);
+ // Specify the layout to use when the list of choices appears
+ dayAdapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
+ // Apply the adapter to the spinner
+ daySpinner.setAdapter(dayAdapter);
+
+ int i = getArguments().getInt(ARG_LIST_NUMBER);
+ String listItem = getResources().getStringArray(R.array.list_names_array)[i];
+ getActivity().setTitle(listItem);
+
+ final Button launchZodiac = (Button) rootView.findViewById(R.id.launchZodiac);
+ Button getSign = (Button) rootView.findViewById(R.id.getSign);
+ getSign.setOnClickListener(new View.OnClickListener() {
+ @Override
+ public void onClick(View view) {
+ int selectedMonth = monthSpinner.getSelectedItemPosition();
+ int selectedDay = (int) daySpinner.getSelectedItem();
+
+ if((selectedMonth == 11 && selectedDay >= 22) || (selectedMonth == 0 && selectedDay <= 20)){
+ launchZodiac.setText("Capricorn");
+ }else if((selectedMonth == 0 && selectedDay >= 21) || (selectedMonth == 1 && selectedDay <= 19)){
+ launchZodiac.setText("Aquarius");
+ }else if((selectedMonth == 1 && selectedDay >= 20) || (selectedMonth == 2 && selectedDay <= 20)){
+ launchZodiac.setText("Pisces");
+ }else if((selectedMonth == 2 && selectedDay >= 21) || (selectedMonth == 3 && selectedDay <= 19)){
+ launchZodiac.setText("Aries");
+ }else if((selectedMonth == 3 && selectedDay >= 20) || (selectedMonth == 4 && selectedDay <= 20)){
+ launchZodiac.setText("Taurus");
+ }else if((selectedMonth == 4 && selectedDay >= 21) || (selectedMonth == 5 && selectedDay <= 21)){
+ launchZodiac.setText("Gemini");
+ }else if((selectedMonth == 5 && selectedDay >= 22) || (selectedMonth == 6 && selectedDay <= 23)){
+ launchZodiac.setText("Cancer");
+ }else if((selectedMonth == 6 && selectedDay >= 24) || (selectedMonth == 7 && selectedDay <= 23)){
+ launchZodiac.setText("Leo");
+ }else if((selectedMonth == 7 && selectedDay >= 24) || (selectedMonth == 8 && selectedDay <= 22)){
+ launchZodiac.setText("Virgo");
+ }else if((selectedMonth == 8 && selectedDay >= 23) || (selectedMonth == 9 && selectedDay <= 22)){
+ launchZodiac.setText("Libra");
+ }else if((selectedMonth == 9 && selectedDay >= 23) || (selectedMonth == 10 && selectedDay <= 22)){
+ launchZodiac.setText("Scorpio");
+ }else if((selectedMonth == 10 && selectedDay >= 23) || (selectedMonth == 11 && selectedDay <= 21)){
+ launchZodiac.setText("Sagittarius");
+ }
+ }
+ });
+
+ return rootView;
+ }
+}
\ No newline at end of file
diff --git a/homework/week-2/AnthonyFermin/Horoscope/app/src/main/java/nyc/c4q/anthonyfermin/horoscope/HoroscopeGameFragment.java b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/java/nyc/c4q/anthonyfermin/horoscope/HoroscopeGameFragment.java
new file mode 100644
index 00000000..f452e35e
--- /dev/null
+++ b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/java/nyc/c4q/anthonyfermin/horoscope/HoroscopeGameFragment.java
@@ -0,0 +1,72 @@
+package nyc.c4q.anthonyfermin.horoscope;
+
+import android.app.Fragment;
+import android.os.Bundle;
+import android.view.LayoutInflater;
+import android.view.View;
+import android.view.ViewGroup;
+import android.widget.ArrayAdapter;
+import android.widget.Button;
+import android.widget.Spinner;
+import android.widget.TextView;
+
+/**
+ * Created by c4q-anthonyf on 5/15/15.
+ */
+public class HoroscopeGameFragment extends Fragment {
+ public static final String ARG_LIST_NUMBER = "list_number";
+
+ public HoroscopeGameFragment() {
+ // Empty constructor required for fragment subclasses
+ }
+
+ @Override
+ public View onCreateView(LayoutInflater inflater, ViewGroup container,
+ Bundle savedInstanceState) {
+ final View rootView = inflater.inflate(R.layout.fragment_horoscope_game, container, false);
+
+ //prompt TextView
+ final TextView promptView = (TextView) rootView.findViewById(R.id.prompt);
+
+ final int zodiacNum = (int) (Math.random() * 11 + 1);
+
+ String promptText = "Guess the Zodiac that corresponds to this date:\n" + getResources().getStringArray(R.array.zodiac_date_array)[zodiacNum];
+ promptView.setText(promptText);
+
+ //Setting up Spinner
+
+ final Spinner zodiacSpinner = (Spinner) rootView.findViewById(R.id.zodiacSpinner);
+ // Create an ArrayAdapter using the string array and a default spinner layout
+ ArrayAdapter zAdapter = ArrayAdapter.createFromResource(this.getActivity(),
+ R.array.zodiac_names_array, android.R.layout.simple_spinner_item);
+ // Specify the layout to use when the list of choices appears
+ zAdapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
+ // Apply the adapter to the spinner
+ zodiacSpinner.setAdapter(zAdapter);
+
+ //setting up result textView
+
+ final TextView result = (TextView) rootView.findViewById(R.id.result);
+
+ int i = getArguments().getInt(ARG_LIST_NUMBER);
+ String listItem = getResources().getStringArray(R.array.list_names_array)[i];
+ getActivity().setTitle(listItem);
+
+ Button submit = (Button) rootView.findViewById(R.id.submit);
+ submit.setOnClickListener(new View.OnClickListener() {
+ @Override
+ public void onClick(View view) {
+
+ String selection = (String)zodiacSpinner.getSelectedItem();
+ if(selection.equalsIgnoreCase(getResources().getStringArray(R.array.zodiac_names_array)[zodiacNum])){
+ result.setText("Correct");
+ }else {
+ result.setText("Incorrect");
+ }
+
+ }
+ });
+
+ return rootView;
+ }
+}
\ No newline at end of file
diff --git a/homework/week-2/AnthonyFermin/Horoscope/app/src/main/java/nyc/c4q/anthonyfermin/horoscope/Main.java b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/java/nyc/c4q/anthonyfermin/horoscope/Main.java
new file mode 100644
index 00000000..710828e5
--- /dev/null
+++ b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/java/nyc/c4q/anthonyfermin/horoscope/Main.java
@@ -0,0 +1,164 @@
+package nyc.c4q.anthonyfermin.horoscope;
+
+import android.app.Fragment;
+import android.app.FragmentManager;
+import android.content.res.Configuration;
+import android.graphics.drawable.Drawable;
+import android.support.v4.app.ActionBarDrawerToggle;
+import android.support.v4.view.GravityCompat;
+import android.support.v4.widget.DrawerLayout;
+import android.support.v7.app.ActionBarActivity;
+import android.os.Bundle;
+import android.view.LayoutInflater;
+import android.view.Menu;
+import android.view.MenuItem;
+import android.view.View;
+import android.view.ViewGroup;
+import android.widget.AdapterView;
+import android.widget.ArrayAdapter;
+import android.widget.Button;
+import android.widget.ImageView;
+import android.widget.ListView;
+import android.widget.Spinner;
+import android.widget.TextView;
+
+import java.util.Locale;
+
+
+public class Main extends ActionBarActivity {
+
+ private DrawerLayout mDrawerLayout;
+ private ListView mDrawerList;
+ private ActionBarDrawerToggle mDrawerToggle;
+
+ private CharSequence mDrawerTitle;
+ private CharSequence mTitle;
+ private String[] mListTitles;
+
+ // TODO: Add remaining fragment classes and layouts for each position in drawer
+ // TODO: set up landscape layouts
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_main);
+
+ mTitle = mDrawerTitle = getTitle();
+ mListTitles = getResources().getStringArray(R.array.list_names_array);
+ mDrawerLayout = (DrawerLayout) findViewById(R.id.drawer_layout);
+ mDrawerList = (ListView) findViewById(R.id.left_drawer);
+
+ // set a custom shadow that overlays the main content when the drawer opens
+ mDrawerLayout.setDrawerShadow(R.drawable.drawer_shadow, GravityCompat.START);
+ // set up the drawer's list view with items and click listener
+ mDrawerList.setAdapter(new ArrayAdapter(this,
+ R.layout.drawer_list_item, mListTitles));
+ mDrawerList.setOnItemClickListener(new DrawerItemClickListener());
+
+ if (savedInstanceState == null) {
+ selectItem(0);
+ }
+
+ }
+
+
+// NOTE: Causes Null pointer exception
+// @Override
+// public void setTitle(CharSequence title) {
+// mTitle = title;
+// getActionBar().setTitle(mTitle);
+// }
+
+ /**
+ * When using the ActionBarDrawerToggle, you must call it during
+ * onPostCreate() and onConfigurationChanged()...
+ *
+ * NOTE: Causes Null pointer exception
+ */
+
+// @Override
+// protected void onPostCreate(Bundle savedInstanceState) {
+// super.onPostCreate(savedInstanceState);
+// // Sync the toggle state after onRestoreInstanceState has occurred.
+// mDrawerToggle.syncState();
+// }
+
+ @Override
+ public void onConfigurationChanged(Configuration newConfig) {
+ super.onConfigurationChanged(newConfig);
+ // Pass any configuration change to the drawer toggles
+ mDrawerToggle.onConfigurationChanged(newConfig);
+ }
+
+
+
+ /* The click listener for ListView in the navigation drawer */
+ private class DrawerItemClickListener implements ListView.OnItemClickListener {
+ @Override
+ public void onItemClick(AdapterView> parent, View view, int position, long id) {
+ selectItem(position);
+ }
+ }
+
+ private void selectItem(int position) {
+ // update the main content by replacing fragments
+ Fragment fragment;
+
+ switch (position) {
+ case 0: fragment = new SignInfoFragment();
+ break;
+ case 1: fragment = new GetSignFragment();
+ break;
+ case 2: fragment = new SignCompatibilityFragment();
+ break;
+ case 3: fragment = new HoroscopeGameFragment();
+ break;
+ default:fragment = new SignInfoFragment();
+ }
+
+ Bundle args = new Bundle();
+ args.putInt(SignInfoFragment.ARG_LIST_NUMBER, position);
+ fragment.setArguments(args);
+
+ FragmentManager fragmentManager = getFragmentManager();
+ fragmentManager.beginTransaction().replace(R.id.content_frame, fragment).commit();
+
+ // update selected item and title, then close the drawer
+ mDrawerList.setItemChecked(position, true);
+ mDrawerLayout.closeDrawer(mDrawerList);
+ }
+
+ public void zodiacSelect(int zodiac){
+
+ Fragment fragment = new SignDetailFragment();
+
+ Bundle args = new Bundle();
+ args.putInt(SignInfoFragment.ARG_LIST_NUMBER, zodiac);
+ fragment.setArguments(args);
+
+ FragmentManager fragmentManager = getFragmentManager();
+ fragmentManager.beginTransaction().replace(R.id.content_frame, fragment).commit();
+ }
+
+
+
+ // passes the number 0 to 11 that corresponds to the zodiac sign contained in the button clicked
+ public void signDetail(View v){
+ Button button = (Button) v;
+ String buttonText = (String) button.getText();
+ if(buttonText.equals("")){
+ return;
+ }
+ int zodiacNum = 0;
+
+ String[] zodiacs = getResources().getStringArray(R.array.zodiac_names_array);
+
+ for(int i = 0; i < zodiacs.length; i++){
+ if(zodiacs[i].equalsIgnoreCase(buttonText)){
+ zodiacNum = i;
+ }
+ }
+ zodiacSelect(zodiacNum);
+ }
+
+}
diff --git a/homework/week-2/AnthonyFermin/Horoscope/app/src/main/java/nyc/c4q/anthonyfermin/horoscope/SignCompatibilityFragment.java b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/java/nyc/c4q/anthonyfermin/horoscope/SignCompatibilityFragment.java
new file mode 100644
index 00000000..900c04e2
--- /dev/null
+++ b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/java/nyc/c4q/anthonyfermin/horoscope/SignCompatibilityFragment.java
@@ -0,0 +1,62 @@
+package nyc.c4q.anthonyfermin.horoscope;
+
+import android.app.Fragment;
+import android.os.Bundle;
+import android.view.LayoutInflater;
+import android.view.View;
+import android.view.ViewGroup;
+import android.widget.ArrayAdapter;
+import android.widget.Button;
+import android.widget.Spinner;
+import android.widget.TextView;
+
+/**
+ * Created by c4q-anthonyf on 5/15/15.
+ */
+public class SignCompatibilityFragment extends Fragment {
+ public static final String ARG_LIST_NUMBER = "list_number";
+
+ public SignCompatibilityFragment() {
+ // Empty constructor required for fragment subclasses
+ }
+
+ @Override
+ public View onCreateView(LayoutInflater inflater, ViewGroup container,
+ Bundle savedInstanceState) {
+ final View rootView = inflater.inflate(R.layout.fragment_sign_compatibility, container, false);
+
+ final Spinner zodiacSpinner1 = (Spinner) rootView.findViewById(R.id.zodiacSpinner1);
+ // Create an ArrayAdapter using the string array and a default spinner layout
+ ArrayAdapter zAdapter1 = ArrayAdapter.createFromResource(this.getActivity(),
+ R.array.zodiac_names_array, android.R.layout.simple_spinner_item);
+ // Specify the layout to use when the list of choices appears
+ zAdapter1.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
+ // Apply the adapter to the spinner
+ zodiacSpinner1.setAdapter(zAdapter1);
+
+ final Spinner zodiacSpinner2 = (Spinner) rootView.findViewById(R.id.zodiacSpinner2);
+ // Create an ArrayAdapter using the string array and a default spinner layout
+ ArrayAdapter zAdapter2 = ArrayAdapter.createFromResource(this.getActivity(),
+ R.array.zodiac_names_array, android.R.layout.simple_spinner_item);
+ // Specify the layout to use when the list of choices appears
+ zAdapter2.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
+ // Apply the adapter to the spinner
+ zodiacSpinner2.setAdapter(zAdapter2);
+
+ int i = getArguments().getInt(ARG_LIST_NUMBER);
+ String listItem = getResources().getStringArray(R.array.list_names_array)[i];
+ getActivity().setTitle(listItem);
+
+ Button getCompat = (Button) rootView.findViewById(R.id.getCompat);
+ getCompat.setOnClickListener(new View.OnClickListener() {
+ @Override
+ public void onClick(View view) {
+ TextView textView = (TextView) rootView.findViewById(R.id.compatResult);
+ textView.setText("The signs show you are compatible!");
+
+ }
+ });
+
+ return rootView;
+ }
+}
diff --git a/homework/week-2/AnthonyFermin/Horoscope/app/src/main/java/nyc/c4q/anthonyfermin/horoscope/SignDetailFragment.java b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/java/nyc/c4q/anthonyfermin/horoscope/SignDetailFragment.java
new file mode 100644
index 00000000..5bb65b30
--- /dev/null
+++ b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/java/nyc/c4q/anthonyfermin/horoscope/SignDetailFragment.java
@@ -0,0 +1,44 @@
+package nyc.c4q.anthonyfermin.horoscope;
+
+import android.app.Fragment;
+import android.os.Bundle;
+import android.view.LayoutInflater;
+import android.view.View;
+import android.view.ViewGroup;
+import android.widget.ImageView;
+import android.widget.TextView;
+
+public class SignDetailFragment extends Fragment {
+ public static final String ARG_LIST_NUMBER = "list_number";
+
+ public SignDetailFragment() {
+ // Empty constructor required for fragment subclasses
+ }
+
+ @Override
+ public View onCreateView(LayoutInflater inflater, ViewGroup container,
+ Bundle savedInstanceState) {
+ View rootView = inflater.inflate(R.layout.fragment_sign_detail, container, false);
+
+ int i = getArguments().getInt(ARG_LIST_NUMBER);
+ String zodiacItem = getResources().getStringArray(R.array.zodiac_names_array)[i];
+
+ getActivity().setTitle(zodiacItem);
+
+ TextView zodiacTitle = (TextView) rootView.findViewById(R.id.zodiacTitle);
+ zodiacTitle.setText(zodiacItem);
+
+ zodiacItem = zodiacItem.toLowerCase();
+ ImageView zodiacImageView = (ImageView) rootView.findViewById(R.id.zodiacImage);
+ int imageId = getResources().getIdentifier(zodiacItem, "drawable", "nyc.c4q.anthonyfermin.horoscope" );
+ zodiacImageView.setImageResource(imageId);
+
+ TextView zodiacDate = (TextView) rootView.findViewById(R.id.zodiacDate);
+ zodiacDate.setText(getResources().getStringArray(R.array.zodiac_date_array)[i]);
+
+ TextView zodiacDescrip = (TextView) rootView.findViewById(R.id.zodiacDescription);
+ zodiacDescrip.setText(getResources().getStringArray(R.array.zodiac_description_array)[i]);
+
+ return rootView;
+ }
+}
\ No newline at end of file
diff --git a/homework/week-2/AnthonyFermin/Horoscope/app/src/main/java/nyc/c4q/anthonyfermin/horoscope/SignInfoFragment.java b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/java/nyc/c4q/anthonyfermin/horoscope/SignInfoFragment.java
new file mode 100644
index 00000000..4f59ec33
--- /dev/null
+++ b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/java/nyc/c4q/anthonyfermin/horoscope/SignInfoFragment.java
@@ -0,0 +1,35 @@
+package nyc.c4q.anthonyfermin.horoscope;
+
+import android.app.Fragment;
+import android.os.Bundle;
+import android.view.LayoutInflater;
+import android.view.View;
+import android.view.ViewGroup;
+import android.widget.Button;
+
+public class SignInfoFragment extends Fragment {
+ public static final String ARG_LIST_NUMBER = "list_number";
+
+ public SignInfoFragment() {
+ // Empty constructor required for fragment subclasses
+ }
+
+ @Override
+ public View onCreateView(LayoutInflater inflater, ViewGroup container,
+ Bundle savedInstanceState) {
+ View rootView = inflater.inflate(R.layout.fragment_sign_info, container, false);
+
+ String[] zodiacs = getResources().getStringArray(R.array.zodiac_names_array);
+ for(String zodiac :zodiacs){
+ zodiac = zodiac.toLowerCase();
+ Button button = (Button) rootView.findViewById(getResources().getIdentifier(zodiac,"id", "nyc.c4q.anthonyfermin.horoscope"));
+ button.setText(zodiac);
+ }
+
+ int i = getArguments().getInt(ARG_LIST_NUMBER);
+ String listItem = getResources().getStringArray(R.array.list_names_array)[i];
+ getActivity().setTitle(listItem);
+
+ return rootView;
+ }
+}
\ No newline at end of file
diff --git a/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable-hdpi/action_search.png b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable-hdpi/action_search.png
new file mode 100644
index 00000000..f12e005e
Binary files /dev/null and b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable-hdpi/action_search.png differ
diff --git a/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable-hdpi/drawer_shadow.9.png b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable-hdpi/drawer_shadow.9.png
new file mode 100644
index 00000000..224cc4ff
Binary files /dev/null and b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable-hdpi/drawer_shadow.9.png differ
diff --git a/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable-hdpi/ic_drawer.png b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable-hdpi/ic_drawer.png
new file mode 100644
index 00000000..ff7b1def
Binary files /dev/null and b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable-hdpi/ic_drawer.png differ
diff --git a/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable-hdpi/ic_launcher.png b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable-hdpi/ic_launcher.png
new file mode 100644
index 00000000..b460d602
Binary files /dev/null and b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable-hdpi/ic_launcher.png differ
diff --git a/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable-mdpi/action_search.png b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable-mdpi/action_search.png
new file mode 100644
index 00000000..587d9e0b
Binary files /dev/null and b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable-mdpi/action_search.png differ
diff --git a/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable-mdpi/drawer_shadow.9.png b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable-mdpi/drawer_shadow.9.png
new file mode 100644
index 00000000..3797f99c
Binary files /dev/null and b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable-mdpi/drawer_shadow.9.png differ
diff --git a/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable-mdpi/ic_drawer.png b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable-mdpi/ic_drawer.png
new file mode 100644
index 00000000..fb681ba2
Binary files /dev/null and b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable-mdpi/ic_drawer.png differ
diff --git a/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable-mdpi/ic_launcher.png b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable-mdpi/ic_launcher.png
new file mode 100644
index 00000000..dee53f40
Binary files /dev/null and b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable-mdpi/ic_launcher.png differ
diff --git a/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable-xhdpi/action_search.png b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable-xhdpi/action_search.png
new file mode 100644
index 00000000..3549f84d
Binary files /dev/null and b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable-xhdpi/action_search.png differ
diff --git a/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable-xhdpi/drawer_shadow.9.png b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable-xhdpi/drawer_shadow.9.png
new file mode 100644
index 00000000..fa3d853e
Binary files /dev/null and b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable-xhdpi/drawer_shadow.9.png differ
diff --git a/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable-xhdpi/ic_drawer.png b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable-xhdpi/ic_drawer.png
new file mode 100644
index 00000000..b9bc3d70
Binary files /dev/null and b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable-xhdpi/ic_drawer.png differ
diff --git a/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable-xhdpi/ic_launcher.png b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable-xhdpi/ic_launcher.png
new file mode 100644
index 00000000..d4e12153
Binary files /dev/null and b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable-xhdpi/ic_launcher.png differ
diff --git a/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable-xxhdpi/ic_launcher.png b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable-xxhdpi/ic_launcher.png
new file mode 100644
index 00000000..2cc3275b
Binary files /dev/null and b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable-xxhdpi/ic_launcher.png differ
diff --git a/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/aquarius.png b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/aquarius.png
new file mode 100755
index 00000000..eb2dcfc1
Binary files /dev/null and b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/aquarius.png differ
diff --git a/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/aries.png b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/aries.png
new file mode 100755
index 00000000..45db8842
Binary files /dev/null and b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/aries.png differ
diff --git a/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/cancer.png b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/cancer.png
new file mode 100755
index 00000000..09d64442
Binary files /dev/null and b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/cancer.png differ
diff --git a/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/capricorn.png b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/capricorn.png
new file mode 100755
index 00000000..27ab442b
Binary files /dev/null and b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/capricorn.png differ
diff --git a/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/drawable-hdpi/action_search.png b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/drawable-hdpi/action_search.png
new file mode 100644
index 00000000..f12e005e
Binary files /dev/null and b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/drawable-hdpi/action_search.png differ
diff --git a/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/drawable-hdpi/drawer_shadow.9.png b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/drawable-hdpi/drawer_shadow.9.png
new file mode 100644
index 00000000..224cc4ff
Binary files /dev/null and b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/drawable-hdpi/drawer_shadow.9.png differ
diff --git a/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/drawable-hdpi/ic_drawer.png b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/drawable-hdpi/ic_drawer.png
new file mode 100644
index 00000000..ff7b1def
Binary files /dev/null and b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/drawable-hdpi/ic_drawer.png differ
diff --git a/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/drawable-hdpi/ic_launcher.png b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/drawable-hdpi/ic_launcher.png
new file mode 100644
index 00000000..b460d602
Binary files /dev/null and b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/drawable-hdpi/ic_launcher.png differ
diff --git a/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/drawable-mdpi/action_search.png b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/drawable-mdpi/action_search.png
new file mode 100644
index 00000000..587d9e0b
Binary files /dev/null and b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/drawable-mdpi/action_search.png differ
diff --git a/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/drawable-mdpi/drawer_shadow.9.png b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/drawable-mdpi/drawer_shadow.9.png
new file mode 100644
index 00000000..3797f99c
Binary files /dev/null and b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/drawable-mdpi/drawer_shadow.9.png differ
diff --git a/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/drawable-mdpi/ic_drawer.png b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/drawable-mdpi/ic_drawer.png
new file mode 100644
index 00000000..fb681ba2
Binary files /dev/null and b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/drawable-mdpi/ic_drawer.png differ
diff --git a/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/drawable-mdpi/ic_launcher.png b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/drawable-mdpi/ic_launcher.png
new file mode 100644
index 00000000..dee53f40
Binary files /dev/null and b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/drawable-mdpi/ic_launcher.png differ
diff --git a/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/drawable-xhdpi/action_search.png b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/drawable-xhdpi/action_search.png
new file mode 100644
index 00000000..3549f84d
Binary files /dev/null and b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/drawable-xhdpi/action_search.png differ
diff --git a/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/drawable-xhdpi/drawer_shadow.9.png b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/drawable-xhdpi/drawer_shadow.9.png
new file mode 100644
index 00000000..fa3d853e
Binary files /dev/null and b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/drawable-xhdpi/drawer_shadow.9.png differ
diff --git a/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/drawable-xhdpi/ic_drawer.png b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/drawable-xhdpi/ic_drawer.png
new file mode 100644
index 00000000..b9bc3d70
Binary files /dev/null and b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/drawable-xhdpi/ic_drawer.png differ
diff --git a/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/drawable-xhdpi/ic_launcher.png b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/drawable-xhdpi/ic_launcher.png
new file mode 100644
index 00000000..d4e12153
Binary files /dev/null and b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/drawable-xhdpi/ic_launcher.png differ
diff --git a/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/drawable-xxhdpi/ic_launcher.png b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/drawable-xxhdpi/ic_launcher.png
new file mode 100644
index 00000000..2cc3275b
Binary files /dev/null and b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/drawable-xxhdpi/ic_launcher.png differ
diff --git a/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/gemini.png b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/gemini.png
new file mode 100755
index 00000000..46c5232e
Binary files /dev/null and b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/gemini.png differ
diff --git a/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/leo.png b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/leo.png
new file mode 100755
index 00000000..7e413219
Binary files /dev/null and b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/leo.png differ
diff --git a/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/libra.png b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/libra.png
new file mode 100755
index 00000000..6f0cf28e
Binary files /dev/null and b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/libra.png differ
diff --git a/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/pisces.png b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/pisces.png
new file mode 100755
index 00000000..008fb3c2
Binary files /dev/null and b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/pisces.png differ
diff --git a/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/sagittarius.png b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/sagittarius.png
new file mode 100755
index 00000000..3445e648
Binary files /dev/null and b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/sagittarius.png differ
diff --git a/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/scorpio.png b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/scorpio.png
new file mode 100755
index 00000000..6614e155
Binary files /dev/null and b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/scorpio.png differ
diff --git a/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/taurus.png b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/taurus.png
new file mode 100755
index 00000000..381b6d20
Binary files /dev/null and b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/taurus.png differ
diff --git a/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/virgo.png b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/virgo.png
new file mode 100755
index 00000000..70740053
Binary files /dev/null and b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/drawable/virgo.png differ
diff --git a/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/layout/activity_main.xml b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/layout/activity_main.xml
new file mode 100644
index 00000000..6d671182
--- /dev/null
+++ b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/layout/activity_main.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/layout/drawer_list_item.xml b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/layout/drawer_list_item.xml
new file mode 100644
index 00000000..55c08e68
--- /dev/null
+++ b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/layout/drawer_list_item.xml
@@ -0,0 +1,13 @@
+
+
+
\ No newline at end of file
diff --git a/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/layout/fragment_get_sign.xml b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/layout/fragment_get_sign.xml
new file mode 100644
index 00000000..fc204d55
--- /dev/null
+++ b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/layout/fragment_get_sign.xml
@@ -0,0 +1,50 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/layout/fragment_horoscope_game.xml b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/layout/fragment_horoscope_game.xml
new file mode 100644
index 00000000..28931dfd
--- /dev/null
+++ b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/layout/fragment_horoscope_game.xml
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/layout/fragment_sign_compatibility.xml b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/layout/fragment_sign_compatibility.xml
new file mode 100644
index 00000000..b13cb05f
--- /dev/null
+++ b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/layout/fragment_sign_compatibility.xml
@@ -0,0 +1,45 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/layout/fragment_sign_detail.xml b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/layout/fragment_sign_detail.xml
new file mode 100644
index 00000000..6d2ad8eb
--- /dev/null
+++ b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/layout/fragment_sign_detail.xml
@@ -0,0 +1,47 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/layout/fragment_sign_info.xml b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/layout/fragment_sign_info.xml
new file mode 100644
index 00000000..4d79ee93
--- /dev/null
+++ b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/layout/fragment_sign_info.xml
@@ -0,0 +1,159 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/exercises/5_OOP-and-Intents/MyPhone/app/src/main/res/menu/menu_main.xml b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/menu/menu_main.xml
similarity index 95%
rename from exercises/5_OOP-and-Intents/MyPhone/app/src/main/res/menu/menu_main.xml
rename to homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/menu/menu_main.xml
index b1cb9081..3686b3a1 100644
--- a/exercises/5_OOP-and-Intents/MyPhone/app/src/main/res/menu/menu_main.xml
+++ b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/menu/menu_main.xml
@@ -1,6 +1,6 @@
diff --git a/exercises/5_OOP-and-Intents/MyPhone/app/src/main/res/mipmap-hdpi/ic_launcher.png b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/mipmap-hdpi/ic_launcher.png
similarity index 100%
rename from exercises/5_OOP-and-Intents/MyPhone/app/src/main/res/mipmap-hdpi/ic_launcher.png
rename to homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/mipmap-hdpi/ic_launcher.png
diff --git a/exercises/5_OOP-and-Intents/MyPhone/app/src/main/res/mipmap-mdpi/ic_launcher.png b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/mipmap-mdpi/ic_launcher.png
similarity index 100%
rename from exercises/5_OOP-and-Intents/MyPhone/app/src/main/res/mipmap-mdpi/ic_launcher.png
rename to homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/mipmap-mdpi/ic_launcher.png
diff --git a/exercises/5_OOP-and-Intents/MyPhone/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/mipmap-xhdpi/ic_launcher.png
similarity index 100%
rename from exercises/5_OOP-and-Intents/MyPhone/app/src/main/res/mipmap-xhdpi/ic_launcher.png
rename to homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/mipmap-xhdpi/ic_launcher.png
diff --git a/exercises/5_OOP-and-Intents/MyPhone/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
similarity index 100%
rename from exercises/5_OOP-and-Intents/MyPhone/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
rename to homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
diff --git a/exercises/5_OOP-and-Intents/MyPhone/app/src/main/res/values-w820dp/dimens.xml b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/values-w820dp/dimens.xml
similarity index 100%
rename from exercises/5_OOP-and-Intents/MyPhone/app/src/main/res/values-w820dp/dimens.xml
rename to homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/values-w820dp/dimens.xml
diff --git a/exercises/5_OOP-and-Intents/MyPhone/app/src/main/res/values/dimens.xml b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/values/dimens.xml
similarity index 100%
rename from exercises/5_OOP-and-Intents/MyPhone/app/src/main/res/values/dimens.xml
rename to homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/values/dimens.xml
diff --git a/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/values/strings.xml b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/values/strings.xml
new file mode 100644
index 00000000..e54374e2
--- /dev/null
+++ b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/values/strings.xml
@@ -0,0 +1,93 @@
+
+ Horoscope
+ Settings
+
+
+ - Capricorn
+ - Aquarius
+ - Pisces
+ - Aries
+ - Taurus
+ - Gemini
+ - Cancer
+ - Leo
+ - Virgo
+ - Libra
+ - Scorpio
+ - Sagittarius
+
+
+
+
+ - Sign Info
+ - Get Your Sign
+ - Sign Compatibility
+ - Horoscope Game
+
+
+ Open navigation drawer
+ Close navigation drawer
+ Web search
+ Sorry, there\'s no web browser available
+
+
+ Zodiac
+
+
+ - Dec 22 to Jan 20
+ - Jan 21 to Feb 19
+ - Feb 20 to Mar 20
+ - Mar 21 to Apr 19
+ - Apr 20 to May 20
+ - May 21 to Jun 21
+ - Jun 22 to Jul 23
+ - Jul 24 to Aug 23
+ - Aug 24 to Sept 22
+ - Sept 23 to Oct 22
+ - Oct 23 to Nov 22
+ - Nov 23 to Dec 21
+
+
+
+ - \nYour element: Earth\nYour ruling planets: Saturn\nSymbol: The Goat\nYour stone: Garnet\nLife Pursuit: To be proud of their achievements\n\nVibration: Powerful resilient energy\n\nCapricorn Secret Desire: to be admired by their family and friends and the world at large
+ - \nYour element: Air\nYour ruling planets: Uranus\nSymbol: The Water Bearer\nYour stone: Amethyst\nLife Pursuit: To understand life\'s mysteries\n\nVibration: High frequency\n\nAquarian\'s Secret Desire: To be unique and original
+ - \nYour element: Water\nYour ruling planets: Neptune\nSymbol: The Fish\nYour stone: Bloodstone\nLife Pursuit: To avoid feeling alone and instead feel connected to others and the world at large\n\nVibration: Erratic Energy levels\n\nPisces Secret Desire: To live their dreams and turn fantasies into realities.
+ - \nYour element: Fire\nYour ruling planets: Mars\nSymbol: The Ram\nYour stone: Diamond\nLife Pursuit: The thrill of the moment\nVibration: Enthusiastic\n\nAries Secret Desire: To lead the way for others.
+ - \nYour element: Earth\nYour ruling planets: Venus\nSymbol: The Bull\nYour stone: Emerald\nLife Pursuit: Emotional and financial security\nVibration: Determined energy\n\nTaurus Secret Desire: To have a secure, happy and wealthy life/marriage.
+ - \nYour element: Air\nYour ruling planets: Mercury\nSymbol: The Twins\nYour stone: Aquamarine\nLife Pursuit: To explore a little bit of everything.\n\nVibration: Intense mental energy\n\nGemini\'s Secret Desire: To be ahead of the crowd
+ - \nYour element: Water\nYour ruling planets: The Moon\nSymbol: The Crab\nYour stone: Moonstone\nLife Pursuit: Constant reassurance and intimacy\n\nVibration: Moody\n\nCancer\'s Secret Desire: To feel safe (emotionally, spiritually, romantically and financially)
+ - \nYour element: Fire\nYour ruling planets: The Sun\nSymbol: The Lion\nYour stone: Peridot\nLife Pursuit: To lead the way\n\nVibration: Radiant Energy\n\nLeo\'s Secret Desire: To be a star ljljlkjlk lj lkj lkj lkjl kjk lkj klj lkj lkj lkj lkj lkj kj
+ - \nYour element: Earth\nYour ruling planets: Mercury\nSymbol: The Virgin\nYour stone: Sapphire\nLife Pursuit: To do the right thing\n\nVibration: Compassionate and caring\n\nVirgo\'s Secret Desire: To love and be loved in return
+ - \nYour element: Air\nYour ruling planets: Venus\nSymbol: The Scales\nYour stone: Opals\nLife Pursuit: To be consistent\n\nVibration: Unsteady\n\nLibra\'s Secret Desire: To live an easy, uncomplicated life.
+ - \nYour element: Water\nYour ruling planets: Pluto\nSymbol: The Scorpion\nYour stone: Topaz\nLife Pursuit: To survive against all opposition\n\nVibration: Resilient\n\nScorpio\'s Secret Desire: To triumph
+ - \nYour element: Fire\nYour ruling planets: Jupiter\nSymbol: The Archer\nYour stone: Turquoise\nLife Pursuit: To live the good life\n\nVibration: Overly expressive - frequent burnouts\n\nSagittarian\'s Secret Desire: To make a difference in the world
+
+
+
+ Month
+ Day
+ Get Sign
+
+ - January
+ - February
+ - March
+ - April
+ - May
+ - June
+ - July
+ - August
+ - September
+ - October
+ - November
+ - December
+
+
+
+
+ Get Compatibility
+
+
+
+ Submit
+
+
diff --git a/exercises/5_OOP-and-Intents/MyPhone/app/src/main/res/values/styles.xml b/homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/values/styles.xml
similarity index 100%
rename from exercises/5_OOP-and-Intents/MyPhone/app/src/main/res/values/styles.xml
rename to homework/week-2/AnthonyFermin/Horoscope/app/src/main/res/values/styles.xml
diff --git a/exercises/5_OOP-and-Intents/MyPhone/build.gradle b/homework/week-2/AnthonyFermin/Horoscope/build.gradle
similarity index 100%
rename from exercises/5_OOP-and-Intents/MyPhone/build.gradle
rename to homework/week-2/AnthonyFermin/Horoscope/build.gradle
diff --git a/homework/week-2/AnthonyFermin/Horoscope/gradle.properties b/homework/week-2/AnthonyFermin/Horoscope/gradle.properties
new file mode 100644
index 00000000..1d3591c8
--- /dev/null
+++ b/homework/week-2/AnthonyFermin/Horoscope/gradle.properties
@@ -0,0 +1,18 @@
+# Project-wide Gradle settings.
+
+# IDE (e.g. Android Studio) users:
+# Gradle settings configured through the IDE *will override*
+# any settings specified in this file.
+
+# For more details on how to configure your build environment visit
+# http://www.gradle.org/docs/current/userguide/build_environment.html
+
+# Specifies the JVM arguments used for the daemon process.
+# The setting is particularly useful for tweaking memory settings.
+# Default value: -Xmx10248m -XX:MaxPermSize=256m
+# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
+
+# When configured, Gradle will run in incubating parallel mode.
+# This option should only be used with decoupled projects. More details, visit
+# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
+# org.gradle.parallel=true
\ No newline at end of file
diff --git a/exercises/5_OOP-and-Intents/MyPhone/gradle/wrapper/gradle-wrapper.jar b/homework/week-2/AnthonyFermin/Horoscope/gradle/wrapper/gradle-wrapper.jar
similarity index 100%
rename from exercises/5_OOP-and-Intents/MyPhone/gradle/wrapper/gradle-wrapper.jar
rename to homework/week-2/AnthonyFermin/Horoscope/gradle/wrapper/gradle-wrapper.jar
diff --git a/exercises/5_OOP-and-Intents/MyPhone/gradle/wrapper/gradle-wrapper.properties b/homework/week-2/AnthonyFermin/Horoscope/gradle/wrapper/gradle-wrapper.properties
similarity index 100%
rename from exercises/5_OOP-and-Intents/MyPhone/gradle/wrapper/gradle-wrapper.properties
rename to homework/week-2/AnthonyFermin/Horoscope/gradle/wrapper/gradle-wrapper.properties
diff --git a/exercises/5_OOP-and-Intents/MyPhone/gradlew b/homework/week-2/AnthonyFermin/Horoscope/gradlew
similarity index 100%
rename from exercises/5_OOP-and-Intents/MyPhone/gradlew
rename to homework/week-2/AnthonyFermin/Horoscope/gradlew
diff --git a/exercises/5_OOP-and-Intents/MyPhone/gradlew.bat b/homework/week-2/AnthonyFermin/Horoscope/gradlew.bat
similarity index 100%
rename from exercises/5_OOP-and-Intents/MyPhone/gradlew.bat
rename to homework/week-2/AnthonyFermin/Horoscope/gradlew.bat
diff --git a/exercises/5_OOP-and-Intents/MyPhone/settings.gradle b/homework/week-2/AnthonyFermin/Horoscope/settings.gradle
similarity index 100%
rename from exercises/5_OOP-and-Intents/MyPhone/settings.gradle
rename to homework/week-2/AnthonyFermin/Horoscope/settings.gradle