Is there a way to hide the system/navigation bar in Android ICS

前端 未结 12 1766
面向向阳花
面向向阳花 2020-12-01 01:02

I\'d like to extend the discussion regarding hiding of the system/navigation bar at the bottom of the screen on Android Ice Cream Sandwich (4.0 and up) tablet devices.

12条回答
  •  醉酒成梦
    2020-12-01 01:24

    You can not hide it unless you have rooted the device. But of course there is a workaround which might not fit with your requirement but several well known apps in the market at the moment using this strategy to achieve this disable menu bar feature for their apps.

    • Grant admin privilege.
    • Set password & lock the device using device admin profile api
    • Then load what ever the UIs on top of the native lock screen. (Of course this will show background lock screen whenever a transition happens between activities. But if logic is organized well, then it will be smooth & less noticed by the user)
    • When need to enable back, reset password to "" using resetPassword("", 0) of device policy manager object.

提交回复
热议问题