Android status bar and Navigation button panel disable programmatically

941 views
Skip to first unread message

Ashot Israyelyan

unread,
Jul 7, 2016, 8:13:31 PM7/7/16
to android-platform
Hello,

I need to disable status bar and navigation button panel for my application, I  used  immersive mode for full screen,  but  when I swipe down or up , the  status bar and Navigation button panels are  showing.

Please  help me Disable that panels.

The application  must  blocking everything... just show  video and media controller for playing video,  when   I writing  correctly password in the dialog, only after that  the panels  enabel.

All functions I wrote, and  working correctly, just I can not   disable  android  panels..

 

Dave Smith

unread,
Jul 7, 2016, 11:06:31 PM7/7/16
to android-platform
"Kiosk Mode" is supported directly in Lollipop/Marshmallow via the Device Owner application and the Device Administration APIs. It disables all System UI except for the back button. It's much more straightforward to implement than modifying the source, if it works for your purposes.

Reply all
Reply to author
Forward
0 new messages