I am trying to run an android application in an emulator with no 开发者_如何转开发Titlebar default. How can I do this?
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);
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);
精彩评论