package com.opensource.trafficrush;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;


public class SplashScreen extends Activity {

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

        int SPLASH_DELEY = 1000;
        new Handler().postDelayed(new Runnable() {
            @Override
            public void run() {
                Intent intent = new Intent(SplashScreen.this, MainActivity.class);
                startActivity(intent);
                finish();
            }
        }, SPLASH_DELEY);
    }



}

@@ -90,16 +90,40 @@
 Intent;%0A
+import android.net.Uri;%0A
 import a
@@ -167,16 +167,106 @@
 andler;%0A
+import android.view.View;%0Aimport android.widget.Button;%0Aimport android.widget.ImageButton;
 %0A%0Apublic
@@ -477,25 +477,24 @@
 creen);%0A
-%0A
         
 int SPLA
@@ -489,135 +489,180 @@
     
-int SPLASH_DELEY = 1000;%0A        new Handler().postDelayed(new Runnable() %7B%0A            @Override%0A            public void run()
+Button login = (Button) findViewById(R.id.Login);%0A%0A        login.setOnClickListener(new View.OnClickListener()%0A        %7B%0A            public void onClick(View v)%0A           
  %7B%0A 
@@ -835,22 +835,8 @@
    %7D
-, SPLASH_DELEY
 );%0A 
@@ -840,13 +840,10 @@
 ;%0A    %7D%0A
-%0A%0A%0A
 %7D%0A

Update SplashScreen.java