diff --git a/AndroidManifest.xml b/AndroidManifest.xml new file mode 100644 index 0000000..038df07 --- /dev/null +++ b/AndroidManifest.xml @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SplashActivity.java b/SplashActivity.java new file mode 100644 index 0000000..ff072cd --- /dev/null +++ b/SplashActivity.java @@ -0,0 +1,24 @@ +package upkeepxpteam.upkeepxp; + +import android.content.Intent; +import android.os.Handler; +import android.support.v7.app.AppCompatActivity; +import android.os.Bundle; + +public class SplashActivity extends AppCompatActivity { + private static int SPLASH_TIME_OUT = 2500; + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.activity_splash); + new Handler().postDelayed(new Runnable() { + @Override + public void run() { + Intent homeIntente = new Intent(SplashActivity.this, MainActivity.class); + startActivity(homeIntente); + finish(); + } + },SPLASH_TIME_OUT); + } +} diff --git a/activity_login.xml b/activity_login.xml new file mode 100644 index 0000000..bc9ca26 --- /dev/null +++ b/activity_login.xml @@ -0,0 +1,101 @@ + + + + + + + + + + +