4

We are developing a launcher app for elderly people which has a very easy UI and we do not want to show status bar or notification drawer.

Now i tried to disable Status Bar but it seems to re-appear when i pull down from the upper side of the screen. And if i pull-down for the second time notification drawer is opened. Is there a way to completely disable Status Bar?

I checked the documentation on the following links but i think no solution is present. In API level 16 we were able to disable it completely but not in api level 19. https://developer.android.com/training/system-ui/status.html#41

https://developer.android.com/training/system-ui/immersive.html#nonsticky

mehmet6parmak
  • 4,777
  • 16
  • 50
  • 71

3 Answers3

1

Try this. It hides status bar, bar with home, return buttons. I use it and it works for me on 4.4.2 AllWinner V11 tablet

Needs ROOT

Use this at your own risk

  • After rooting install SuperSU and file manager app like ES file explorer.
  • Grant access for ES explorer
  • In ES settings check Root explorer then Mount RW
  • In /system find build prop.build file
  • At the end add qemu.hw.mainkeys = 1
  • Save and exit, reboot.

This will hide the bottom bar with Return, Home, and Recent apps. No swipes or other interupts it. To show it again delete qemu.hw.mainkeys = 1 or make it 0

Martynas
  • 627
  • 2
  • 8
  • 28
  • 1
    This answer is good and accurate, but only answers half of the problem. It removes the bottom bar / software keys, but does *not* remove the status bar or top-of-screen controls. – maxsilver Mar 09 '15 at 15:16
  • Yes @maxsilver, to hide the status bar you can create a listener when screen size changes, hide status bar immediately. Also there is one solution i didn't tested http://forum.xda-developers.com/showthread.php?p=37466852#post37466852 – Martynas Mar 10 '15 at 06:08
  • You can reverse engineer SystemUI.apk and hide the status bar. I've done it successfully, on Android 6, by following this answer: https://stackoverflow.com/a/49009629/2247427 – Le-roy Staines Nov 09 '18 at 22:27
1

In android 4.4+ you can not hide status bar really, instead you can prevent the on click expansion of status bar.

To hide the status bar or prevent the expansion of status bar in android 4.4+, please check the solution on below link (as solution is pretty big I am giving the link only ... :) )

Prevent Expansion of status bar in android 4.4+ or android kitkat

Community
  • 1
  • 1
Jyo the Whiff
  • 829
  • 9
  • 23
1

You can draw some view above status bar and consume all input events. It prevent the status from expanding.

More details here: Permanently hide Android Status Bar

It worked for me.

Community
  • 1
  • 1
Dominik Suszczewicz
  • 1,469
  • 2
  • 16
  • 23