diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 0059431..b1db562 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -15,7 +15,7 @@
android:theme="@style/AppTheme" >
+ android:label="@string/title_activity_alerts" >
+ android:label="@string/app_name" >
diff --git a/bin/AndroidManifest.xml b/bin/AndroidManifest.xml
index 0059431..b1db562 100644
--- a/bin/AndroidManifest.xml
+++ b/bin/AndroidManifest.xml
@@ -15,7 +15,7 @@
android:theme="@style/AppTheme" >
+ android:label="@string/title_activity_alerts" >
+ android:label="@string/app_name" >
diff --git a/res/drawable-hdpi/ic_action_warning.png b/res/drawable-hdpi/ic_action_warning.png
new file mode 100644
index 0000000..45bf4f0
Binary files /dev/null and b/res/drawable-hdpi/ic_action_warning.png differ
diff --git a/res/drawable-mdpi/ic_action_warning.png b/res/drawable-mdpi/ic_action_warning.png
new file mode 100644
index 0000000..2ea8958
Binary files /dev/null and b/res/drawable-mdpi/ic_action_warning.png differ
diff --git a/res/drawable-xhdpi/ic_action_warning.png b/res/drawable-xhdpi/ic_action_warning.png
new file mode 100644
index 0000000..f1a5498
Binary files /dev/null and b/res/drawable-xhdpi/ic_action_warning.png differ
diff --git a/res/drawable-xxhdpi/ic_action_warning.png b/res/drawable-xxhdpi/ic_action_warning.png
new file mode 100644
index 0000000..43eb9f8
Binary files /dev/null and b/res/drawable-xxhdpi/ic_action_warning.png differ
diff --git a/res/menu/home.xml b/res/menu/home.xml
index 1db892a..180d9e6 100644
--- a/res/menu/home.xml
+++ b/res/menu/home.xml
@@ -1,9 +1,10 @@
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 4b04490..d3312a8 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -6,6 +6,6 @@
Welcome to UNCC GameDay!
Parking
Registration
- Home
+ Alerts
diff --git a/src/com/uncc/gameday/activities/Alerts.java b/src/com/uncc/gameday/activities/Alerts.java
index de5ea7f..3bf3e6e 100644
--- a/src/com/uncc/gameday/activities/Alerts.java
+++ b/src/com/uncc/gameday/activities/Alerts.java
@@ -4,7 +4,9 @@ import com.uncc.gameday.R;
import android.os.Bundle;
import android.app.Activity;
+import android.content.Intent;
import android.view.Menu;
+import android.view.MenuItem;
public class Alerts extends Activity {
@@ -22,4 +24,12 @@ public class Alerts extends Activity {
return true;
}
+ @Override
+ public boolean onOptionsItemSelected(MenuItem item) {
+ switch (item.getItemId()){
+ case R.id.action_alert_settings:
+ startActivity(new Intent(this, Alerts.class));
+ }
+ return true;
+ }
}
diff --git a/src/com/uncc/gameday/activities/Home.java b/src/com/uncc/gameday/activities/Home.java
index 259af87..8f63f28 100644
--- a/src/com/uncc/gameday/activities/Home.java
+++ b/src/com/uncc/gameday/activities/Home.java
@@ -6,7 +6,9 @@ import com.uncc.gameday.R.menu;
import android.os.Bundle;
import android.app.Activity;
+import android.content.Intent;
import android.view.Menu;
+import android.view.MenuItem;
public class Home extends Activity {
@@ -22,5 +24,14 @@ public class Home extends Activity {
getMenuInflater().inflate(R.menu.home, menu);
return true;
}
+
+ @Override
+ public boolean onOptionsItemSelected(MenuItem item) {
+ switch (item.getItemId()){
+ case R.id.action_alert_settings:
+ startActivity(new Intent(this, Alerts.class));
+ }
+ return true;
+ }
}