Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Removal of the notification bar in an Android app

I'm developing an restaurant menu application that I want to be always on (the user shouldn't be able to go outside the application).

So far am able to override the back and home buttons, but I would like to get rid of the notification bar. Is there anyway to do such thing?

I've tried to set the app theme to fullscreen no title bar but that didn't do the trick. (For the home button i used the custom app in the application.xml.)

Here is a picture of the app for better understanding screenshot of my app

like image 923
Ibrahem Ahmed Avatar asked Nov 12 '22 08:11

Ibrahem Ahmed


1 Answers

You cannot remove bottom navigation bar (notification bar is that one on the top of the screen) on non-rooted device.

If you want to make kiosk mode, then you got two choices - turn your app into launcher or root your device and use tools like: http://ppareit.github.com/HideBar/ (there's open source solution as well but I do not have URL handy)

like image 163
Marcin Orlowski Avatar answered Nov 14 '22 23:11

Marcin Orlowski