OnCreate Archive
-
Android Notes: Full screen applications
Posted on January 31, 2010 | 1 CommentJust a quick note on how to make an Activity run full-screen. Simply insert this magic into the Activity’s OnCreate() super.onCreate(savedInstanceState); /* ... etc ... */ requestWindowFeature(Window.FEATURE_NO_TITLE); getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,WindowManager.LayoutParams.FLAG_FULLSCREEN ); /*...

