0

I am trying to run an android application in an emulator with no Titlebar default. How can I do this?

Senick
  • 101
  • 15

2 Answers2

0

If you'd like to incorporate this into a theme, read this.

From code, read this for the onCreate answer:

//Remove title bar
this.requestWindowFeature(Window.FEATURE_NO_TITLE);
Community
  • 1
  • 1
adamcodes
  • 1,606
  • 13
  • 21
0

Yes, you can do it with the this.requestWindowsFeature(Window.FEATURE_NO_TITLE); With this you can make your program full-screen-sized:

getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
                                WindowManager.LayoutParams.FLAG_FULLSCREEN);
Zwiebel
  • 1,605
  • 4
  • 21
  • 37