Fullscreen Activity in Android?

android full screen with status bar
android 9 full screen
android full screen hide navigation bar
full screen activity android xml
android fullscreen activity no action bar
android pie full screen apps
full screen fragment android

How do I make an activity full screen? I mean without the notification bar. Any ideas?

You can do it programatically:

public class ActivityName extends Activity {
    public void onCreate(Bundle savedInstanceState) {
        // remove title

Or you can do it via your AndroidManifest.xml file:

<activity android:name=".ActivityName"


If you are using AppCompatActivity then you need to add new theme

<style name="Theme.AppCompat.Light.NoActionBar.FullScreen" parent="@style/Theme.AppCompat.Light.NoActionBar">
    <item name="android:windowNoTitle">true</item>
    <item name="android:windowActionBar">false</item>
    <item name="android:windowFullscreen">true</item>
    <item name="android:windowContentOverlay">@null</item>

and then use it.

<activity android:name=".ActivityName"

Thanks to https://stackoverflow.com/a/25365193/1646479

Enable fullscreen mode, This example demonstrate about How to get full screen activity in android.Step 1 − Create a new project in Android Studio, go to File ⇒ New  There is a simple way to create this type of activity in the android studio. To Implement Full Screen Activity you need to create or open an android studio project, give it a name and press Next to configuration panel. After configuration, you just need to choose Full screen Activity and again press next. In the last choose the name for the name of your activity and press FINISH.

There's a technique called Immersive Full-Screen Mode available in KitKat.


How to get full screen activity in android?, Presenting brand new video: In this video you will learn How to make an android application Duration: 2:52 Posted: Dec 9, 2016 Ok, I think I did not inform you that there are two ways you can create a fullscreen activity in android; you can do it programmatically or in your project manifest file. I will show you how to accomplish both of them but first we have to do it programmatically. Open your activity_main.xml and copy and paste this code on it.

If you don't want to use the theme @android:style/Theme.NoTitleBar.Fullscreen because you are already using a theme of you own, you can use android:windowFullscreen.

In AndroidManifest.xml:


In styles.xml:

<style name="MyTheme"  parent="your parent theme">
  <item name="android:windowNoTitle">true</item>
  <item name="android:windowFullscreen">true</item> 

Fullscreen Activity | Android Studio Tutorial (Beginners) HD, In this video you will learn How to make an android application full screen in android device Duration: 2:07 Posted: Jan 6, 2020 A full screen activity is used to hide the title bar or action bar. The navigation bar can be found on top of any layout. if you hide the title bar or action bar, the size of the activity increases.You can activate this activity by using Theme.Holo.Light.NoActionBar.Fullscreen in AndroidManifest.xml

In AndroidManifest.xml file:

    android:theme="@android:style/Theme.NoTitleBar.Fullscreen" > <!-- This line is important -->

        <action android:name="android.intent.action.MAIN" />
        <category android:name="android.intent.category.LAUNCHER" />

Or in Java code:

protected void onCreate(Bundle savedInstanceState){
    getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);

How to FullScreen Activity in Application, Learn how to use Full Screen Mode in your activity in Android Studio. It's pretty easy, we will Duration: 3:12 Posted: Nov 13, 2017 Android make activity as Fullscreen (Removing Title Bar or Action Bar) If want to make an activity to fullscreen in some cases like playing video in fullscreen mode, playing game etc., you can do that by following one of the methods.

If your using AppCompat and ActionBarActivity, then use this


Full Screen Mode - Sticky Immersive, Hi, has any of us ever wanted to create an android application with full screen? like real full screen, which doesn't even show the top bar where network, battery,​  Fullscreen options. Android offers three options to making your app fullscreen: Lean Back, Immersive, and Immersive Sticky. In all three approaches, the system bars are hidden and your activity continues to receive all touch events. The difference between them is how the user can bring the system bars back into view.

Android Full Screen Activity (no system UI), Step 3) You will have a window asking you for the type of activity you want to have, choose Full Screen Activity and press Next button. Android -  Using Android Studio (current version is 2.2.2 at moment) is very easy to add a fullscreen activity. See the steps: Right click on your java main package > Select “New” > Select “Activity” > Then, click on “Fullscreen Activity”. Customize the activity (“Activity Name”, “Layout Name” and so on) and click “finish”.

How to use full screen activity in android studio?, A full screen activity is used to hide the title bar or action bar. The navigation bar can be found on top of any layout. if you hide the title bar or  Android VideoView Playing Videos Full Screen. October 27, 2017. If you want to provide video content in your application, you can create a feature in your app to play videos using Android VideoView and MediaController. Playing videos in full screen gives the best user experience.

What is 'fullscreen activity' in Android? What is its purpose?, Activities, the building block of any Android app. Something so simple, yet so complex. Here we are going to talk about something similar  Making Notch-Friendly Apps for Android. all the app does for now is that it shows a full-screen activity, and becomes immersive when you click on the text in the center, as you can see in the

  • just android:theme="@android:style/Theme.NoTitleBar.Fullscreen" attribute on your activity on the manifest is enough. Thanks :)
  • If your app uses any other theme use corresponding theme name E.g. For White theme @android:style/Theme.Holo.Light.NoActionBar.Fullscreen
  • Set the theme in manifest causes a black screen on launch, it is better to do it in code.
  • if you are using ActionBar and just want no TitleBar remove the line `requestWindowFeature()' as this will cause a NullPointer otherwise
  • If you are using AppCompatActivity, you need to put requestWindowFeature before super.onCreate. Otherwise, you will get: android.util.AndroidRuntimeException: requestFeature() must be called before adding content
  • Just keep in mind that a "reminder bubble" will be displayed the first time your app enters immersive mode. This is fine for some activities, but not if you're doing a splash screen, for example.
  • breaks when using spinners
  • want hide only bottom navigation bar not the status bar. Is it possible to do?
  • add parent as your parent theme
  • you need to place <item name="windowActionBar">false</item> too
  • you must add a code to do that thing programmatically in JAVA
  • requestWindowFeature(Window.FEATURE_NO_TITLE); getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
  • want hide only bottom navigation bar not the status bar. Is it possible to do?
  • This won't remove status bar on top