android - Full Screen, Immersive Mode, disable left swipe navigation bar -


is possible while in full screen immersive mode disable left swipe gesture opening main navigation bar, can opened swiping top? when developing full screen games pretty annoying having design heavily around preventing users accidentally opening it.

thanks in advance.

edit:

sorry clarify i'm talking horizontally locked, full screen game in immersive mode, disabling left swipe gesture makes main android navigation bar/notification bars appear, i'm hoping there way let opened via swiping top.

you can use

mdrawerlayout.setdrawerlockmode(drawerlayout.lock_mode_locked_closed); 

to lock drawerlayout won't able open gestures. , unlock with:

mdrawerlayout.setdrawerlockmode(drawerlayout.lock_mode_unlocked); 

Comments

Popular posts from this blog

jquery - How do you format the date used in the popover widget title of FullCalendar? -

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -