Commit 3b0750c0 authored by Muhammad Suryono's avatar Muhammad Suryono

Update splashscreen

parent 07df518c
...@@ -12,7 +12,10 @@ public class SplashScreen extends AppCompatActivity { ...@@ -12,7 +12,10 @@ public class SplashScreen extends AppCompatActivity {
public void onCreate(Bundle savedInstanceState) { public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState); super.onCreate(savedInstanceState);
setContentView(R.layout.activity_splash); setContentView(R.layout.activity_splash);
startActivity(new Intent(SplashScreen.this, MainActivity.class));
finish(); new Handler(Looper.getMainLooper()).postDelayed(()->{
startActivity(new Intent(SplashScreen.this, MainActivity.class));
finish();
}, 3000);
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment