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);
	}
}

package in.co.nebulax.maestro;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.CheckBox;
import android.widget.EditText;
import android.widget.TextView;

import com.actionbarsherlock.app.SherlockActivity;

public class RegistrationActivity extends SherlockActivity implements
		OnClickListener {

	EditText name, email, pass, confirmpass;
	CheckBox student, maestro;
	Button register;
	TextView redirect_login;

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

		initialiseFields();
		setFields();
	}

	public void initialiseFields() {

		name = (EditText) findViewById(R.id.reg_name);
		email = (EditText) findViewById(R.id.reg_email);
		pass = (EditText)findViewById(R.id.reg_password);
		confirmpass = (EditText)findViewById(R.id.reg_password_confirm);

		student = (CheckBox) findViewById(R.id.check_student);
		maestro = (CheckBox) findViewById(R.id.check_maestro);
		
		register = (Button) findViewById(R.id.btn_register);
		
		redirect_login = (TextView) findViewById(R.id.tv_login_redirect);
		
	}
	

	private void setFields() {
		
		register.setOnClickListener(this);
		redirect_login.setOnClickListener(this);
		
	}

	@Override
	public void onClick(View v) {

		switch(v.getId()){
		case R.id.btn_register :
			// Send request to register
		break;	
		case R.id.tv_login_redirect :
			finish();
			Intent i = new Intent(this , LoginActivity.class);
			startActivity(i);
			break;
		}
	}
}

Add functionality for prelimnary layout
Add functionality for prelimnary layout
