package com.opensource.trafficrush;

import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.os.Handler;
import android.view.View;
import android.widget.Button;
import android.widget.ImageButton;

public class SplashScreen extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_splash_screen);
        Button login = (Button) findViewById(R.id.Login);

        login.setOnClickListener(new View.OnClickListener()
        {
            public void onClick(View v)
            {
                Intent intent = new Intent(SplashScreen.this, MainActivity.class);
                startActivity(intent);
                finish();
            }
        });
    }
}

@@ -259,16 +259,17 @@
 utton;%0A%0A
+%0A
 public c
@@ -535,16 +535,80 @@
 .Login);
+%0A        Button register = (Button) findViewById(R.id.Register);
 %0A%0A      
@@ -873,16 +873,16 @@
 nish();%0A
-
         
@@ -887,16 +887,381 @@
       %7D%0A
+%0A        %7D);%0A%0A        register.setOnClickListener(new View.OnClickListener()%0A        %7B%0A            public void onClick(View v)%0A            %7B%0A                Uri uri = Uri.parse(%22https://accounts.google.com/SignUp%22);%0A                Intent intent = new Intent(Intent.ACTION_VIEW, uri);%0A                startActivity(intent);%0A                finish();%0A            %7D%0A%0A
         

Update SplashScreen.java