Tuesday, September 7, 2010
How to hide the title bar(FULL SCREEN MODE ) ?
Add this lines in your code in oncreate() method just before setting setContentView() method.
requestWindowFeature(Window.FEATURE_NO_TITLE);
this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
setContentView(R.layout.main);
Subscribe to:
Post Comments (Atom)
Android Developers Blog
- The Third Beta of Android 16 - 3/13/2025
- #TheAndroidShow: Multimodal for Gemini in Android Studio, news for gaming devs, the latest devices at MWC, XR and more! - 3/13/2025
- Multimodal image attachment is now available for Gemini in Android Studio - 3/13/2025
- Building excellent games with better graphics and performance - 3/13/2025
- Making Google Play the best place to grow PC games - 3/13/2025
No comments:
Post a Comment