Skip to content

Commit

Permalink
splash screen in right way demo app added
Browse files Browse the repository at this point in the history
  • Loading branch information
RohitSurwase committed Dec 28, 2016
1 parent 70e3cab commit 5e37466
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,16 @@
import android.os.Bundle;
import android.os.Handler;
import android.support.v7.app.AppCompatActivity;
import android.view.Window;
import android.view.WindowManager;

public class SplashActivity extends AppCompatActivity {

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
// setContentView(R.layout.activity_splash);
requestWindowFeature(Window.FEATURE_NO_TITLE);
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);

Handler handler = new Handler();
handler.postDelayed(new Runnable() {
Expand Down

0 comments on commit 5e37466

Please sign in to comment.