package in.co.nebulax.maestro;

import android.os.Bundle;

import com.actionbarsherlock.app.SherlockActivity;

public class RegistrationActivity extends SherlockActivity{

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		
		setContentView(R.layout.activity_registration);
	}
}

@@ -44,288 +44,1588 @@
 oid.
-os.Bundle;%0A%0Aimport com.actionbarsherlock.app.SherlockActivity;%0A%0Apublic class RegistrationActivity extends SherlockActivity%7B%0A%0A%09@Override%0A%09protected void onCreate(Bundle savedInstanceState) %7B%0A%09%09super.onCreate(savedInstanceState);%0A%09%09%0A%09%09setContentView(R.layout.activity_registration);
+content.Intent;%0Aimport android.os.Bundle;%0Aimport android.view.View;%0Aimport android.view.View.OnClickListener;%0Aimport android.widget.Button;%0Aimport android.widget.CheckBox;%0Aimport android.widget.EditText;%0Aimport android.widget.TextView;%0A%0Aimport com.actionbarsherlock.app.SherlockActivity;%0A%0Apublic class RegistrationActivity extends SherlockActivity implements%0A%09%09OnClickListener %7B%0A%0A%09EditText name, email, pass, confirmpass;%0A%09CheckBox student, maestro;%0A%09Button register;%0A%09TextView redirect_login;%0A%0A%09@Override%0A%09protected void onCreate(Bundle savedInstanceState) %7B%0A%09%09super.onCreate(savedInstanceState);%0A%09%09setContentView(R.layout.activity_registration);%0A%0A%09%09initialiseFields();%0A%09%09setFields();%0A%09%7D%0A%0A%09public void initialiseFields() %7B%0A%0A%09%09name = (EditText) findViewById(R.id.reg_name);%0A%09%09email = (EditText) findViewById(R.id.reg_email);%0A%09%09pass = (EditText)findViewById(R.id.reg_password);%0A%09%09confirmpass = (EditText)findViewById(R.id.reg_password_confirm);%0A%0A%09%09student = (CheckBox) findViewById(R.id.check_student);%0A%09%09maestro = (CheckBox) findViewById(R.id.check_maestro);%0A%09%09%0A%09%09register = (Button) findViewById(R.id.btn_register);%0A%09%09%0A%09%09redirect_login = (TextView) findViewById(R.id.tv_login_redirect);%0A%09%09%0A%09%7D%0A%09%0A%0A%09private void setFields() %7B%0A%09%09%0A%09%09register.setOnClickListener(this);%0A%09%09redirect_login.setOnClickListener(this);%0A%09%09%0A%09%7D%0A%0A%09@Override%0A%09public void onClick(View v) %7B%0A%0A%09%09switch(v.getId())%7B%0A%09%09case R.id.btn_register :%0A%09%09%09// Send request to register%0A%09%09break;%09%0A%09%09case R.id.tv_login_redirect :%0A%09%09%09finish();%0A%09%09%09Intent i = new Intent(this , LoginActivity.class);%0A%09%09%09startActivity(i);%0A%09%09%09break;%0A%09%09%7D
 %0A%09%7D%0A

Add functionality for prelimnary layout