package com.nyu.cloud.RemindMeNow;


import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;

public class RegistrationMainActivity extends Activity{


	@Override
	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		setContentView(R.layout.mainactivityform);
		
		
		TextView registerScreen = (TextView) findViewById(R.id.link_to_register);
		
		Button loginButton = (Button) findViewById(R.id.btnLogin);
		loginButton.setOnClickListener(new View.OnClickListener() {

			@Override
			public void onClick(View v) {
				//switch to registration screen on login
				//Intent intent = new Intent(getApplicationContext(), MainActivity.class);

				//startActivity(intent);

			}
		});
		
		registerScreen.setOnClickListener(new View.OnClickListener() {

			public void onClick(View v) {
				// Switching to Register screen
				Intent intent = new Intent(getApplicationContext(), LoginActivity.class);

				startActivity(intent);
			}
		});
	}
}
@@ -272,20 +272,16 @@
 ivity%7B%0D%0A
-%0D%0A%0D%0A
 %09@Overri
@@ -1169,8 +1169,10 @@
 ;%0D%0A%09%7D%0D%0A%7D
+%0D%0A

Update RegistrationMainActivity.java