diff --git a/res/layout/activity_parking.xml b/res/layout/activity_parking.xml
index f48f56b..9e2e5f9 100644
--- a/res/layout/activity_parking.xml
+++ b/res/layout/activity_parking.xml
@@ -32,7 +32,7 @@
android:id="@+id/radioButtonPurple"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:text="@string/puple_lot"
+ android:text="@string/purple_lot"
android:textColor="@color/black"
android1:textColorLink="@color/pressed_unccgameday"
android:onClick="onRadioButtonClick" />
diff --git a/res/layout/activity_registration.xml b/res/layout/activity_registration.xml
index 64b3e30..2d31e7c 100644
--- a/res/layout/activity_registration.xml
+++ b/res/layout/activity_registration.xml
@@ -7,14 +7,15 @@
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
android:background="#7d9a43"
- tools:context=".Registration" >
+ tools:context=".Registration"
+ tools:ignore="Overdraw" >
+ android:layout_marginTop="40dp"
+ android:text="@string/organization_check_in"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:textColor="@color/black" />
@@ -48,7 +49,7 @@
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_below="@+id/sectionNumber"
- android:layout_marginTop="72dp"
+ android:layout_marginTop="40dp"
android:text="@string/row_number"
android:textColor="@color/black"
android:textAppearance="?android:attr/textAppearanceSmall" />
@@ -64,7 +65,8 @@
android:textColor="@color/black"
android:textColorLink="@color/black" >
-
+
+
-
+ android:layout_alignLeft="@+id/editRowNumber"
+ android:layout_below="@+id/editRowNumber"
+ android:layout_marginTop="14dp"
+ android:text="@string/registration_comments"
+ android:textColor="@color/black" />
+
+
+ android:layout_alignLeft="@+id/editComments"
+ android:layout_below="@+id/editComments"
+ android:layout_marginTop="20dp"
+ android:text="@string/check_box_broadcast"
+ android:textColor="@color/black" />
+
+
diff --git a/res/layout/activity_search_rsvp.xml b/res/layout/activity_search_rsvp.xml
new file mode 100644
index 0000000..1397c28
--- /dev/null
+++ b/res/layout/activity_search_rsvp.xml
@@ -0,0 +1,38 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 90aa4c8..3558709 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -21,7 +21,7 @@
uncc-gameday.no-ip.org
Student Check-In
Student Name:
- Organization:
+ Organization Name:
Section:
Row:
Broadcast Information
@@ -31,7 +31,7 @@
Comments:
View Check-In List
Save
- Please Select a Parking Lot
+ Select a Parking Lot
Get Alerts
University Alerts
Organization Alerts
@@ -44,17 +44,17 @@
Silver Lot
Orange Lot
Yellow Lot
- Purple Lot
+ Purple Lot
Pink Lot
White Lot
Gold Lot
Enter a city:
-
Clear Selections
Get Parking Info
+ Register
+ Comments:
+ Parking Map
+ Enter and Organization/Person:
+ Find who else is attending the UNCC football game! \n \nEnter the name of a person or organization into the search bar above.
Refresh Alerts
-
-
-
-
diff --git a/src/com/uncc/gameday/activities/Registration.java b/src/com/uncc/gameday/activities/Registration.java
index 031ed77..f14e3d8 100644
--- a/src/com/uncc/gameday/activities/Registration.java
+++ b/src/com/uncc/gameday/activities/Registration.java
@@ -1,23 +1,68 @@
package com.uncc.gameday.activities;
+import android.app.AlertDialog;
+import android.content.DialogInterface;
import android.os.Bundle;
+import android.view.View;
+import android.view.View.OnClickListener;
+import android.widget.Button;
+import android.widget.TextView;
import com.uncc.gameday.R;
-
-// TODO: Auto-generated Javadoc
/**
* The Class Registration.
*/
-public class Registration extends MenuActivity {
+public class Registration extends MenuActivity implements android.content.DialogInterface.OnClickListener {
/* (non-Javadoc)
* @see com.uncc.gameday.activities.MenuActivity#onCreate(android.os.Bundle)
*/
+
+ private Button b;
+ private TextView t;
+
+
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_registration);
+ b=(Button)findViewById(R.id.buttonRegister);
+ b.setOnClickListener((OnClickListener) this);
+
+ t=(TextView)findViewById(R.id.buttonRegister);
}
-}
+
+ public void onClick(View v) {
+
+ AlertDialog ad = new AlertDialog.Builder(this)
+ .setMessage("Are you ready to register with UNCC GAME DAY?")
+ .setTitle("Confirmation")
+ .setPositiveButton("Yes", this)
+ .setNegativeButton("No", this)
+ .setNeutralButton("Edit", this)
+ .setCancelable(false)
+ .create();
+
+ ad.show();
+ }
+
+ public void onClick(DialogInterface dialog, int which) {
+
+ switch(which){
+ case DialogInterface.BUTTON_POSITIVE: // yes
+ t.setText("Your registration has been accepted. Welcome!");
+ break;
+ case DialogInterface.BUTTON_NEGATIVE: // no
+ t.setText("You may come back and register at amy time.");
+ break;
+ case DialogInterface.BUTTON_NEUTRAL: // neutral
+ t.setText("Please correct any errors and select REGISTER.");
+ break;
+ default:
+ // nothing
+ break;
+ }
+ }
+}