How do I remove the android emulator's Status Bar inside Eclipse's Graphical Layout? My application is set to run in full screen mode, but I'm having a hard time in layouting because the status bar is present in the graphical layout of Eclipse.
You can just change the theme in the drop-down list (or perhaps better said in Android terminology: Spinner
:)) at the top right corner in the layout editor to one of the *.NoTitleBar.Fullscreen
options.
Edit: added screenshot.
By the way, if you have a hard time creating layouts that properly scale with or without the titlebar/actionbar, you may have to rethink if you're going down the right path. If you're developing for a specific (number of) device(s), then I haven't said anything.
you can select the theme spinner and select the "Theme.NoTitleBar.Fullscreen".
Using code:-
requestWindowFeature(Window.FEATURE_NO_TITLE); getWindow().addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);
above written code placed in oncreate method
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With