immersive mode

  1. M

    Android Question Status bar with immersive mode is hidden, but can't draw over its location

    Dim jo As JavaObject = Activity jo.RunMethod("setSystemUiVisibility", Array As Object(5894)) '--> status bar area becomes 100% black, non-visible jo = jo.RunMethod("getResources", Null) Dim ResourceID As Int = jo.RunMethod("getIdentifier", Array As Object("status_bar_height", "dimen"...
  2. I

    Android Question Immersive Mode Status Bar

    Hi There I am using the code posted in here to hide the status & navigation bars. When the user opens another activity the status bar get displayed for a second or so then disappears. Is there a way to prevent this behavior from happening? Note that the second activity also contains the same...
  3. LucaMs

    Other Immersive mode - Debug and Release

    At least on my smartphone (Huawei - Android 8), the source code published here to "set the immersive mode" is not always enough; rotating the device (changing the activity orientation), sometimes (33% of cases?) the navigation bar remain visible. The code worked perfectly in Debug mode, so I...
  4. Brandsum

    Android Tutorial Immersive Mode with Notch area support

    Original tutorial: Immersive Mode - hide the navigation bar (by @Erel ) So the above tutorial works for those devices which do not have a Notch. Devices with a notch will crop the bottom of the application content. Solution (Project attached): Add this code to GetRealSize sub of the original...
  5. LucaMs

    Android Question Immersive mode causes a crash in debug mode

    I "set" immersive mode for the Main; from here I start another Activity and Activity_WindowFocusChanged causes a crash if I start the app in debug mode (see the test project attached). Tested only on an Android 4.4.2.
Top