Posted By

KolNedra on 06/30/11


Tagged

android


Versions (?)

[android] Full Screen


 / Published in: Java
 

  1. @Override
  2. public void onCreate(Bundle savedInstanceState) {
  3. requestWindowFeature(Window.FEATURE_NO_TITLE);
  4. this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN );
  5. }

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: KolNedra on June 30, 2011

Also Add android:theme="@android:style/Theme.NoTitleBar.Fullscreen" into the `` nodes in your Manifest XML

Posted By: KolNedra on June 30, 2011

^^ That's the ```` (activity) node

You need to login to post a comment.