Oreo/Pixel2: Bottom Navigation Bar is no longer fading out


Question

As long as I had my Pixel 2, the bottom navigation bar would not be displayed as long as an app was open. To get to the bar, you have to swipe it up from the bottom.



Works fine for me, I like the additional space.



Since yesterday the bar is no longer hiding and stays visible. And I've no idea what I changed. I believe I hit some combination of volume buttons, power button and nav bottons ... makes no sense though.



The navigation bar is still hiding for games and videos, and can be retrieved by swiping up (or to left/right in landscape mode) but i.e. stays visible in Chrome, Play Store, the settings and other apps (including some which were not created by Google).



I found a bunch of threads/posts where people are asking how to get this feature (to hide the bottom navigation), and they were referred to rooting their phone and some ad-featured apps in the Play Store.



Thats not what I am after. The feature already worked, but I can't find any setting to enable it again.



Anyone have an idea how to enable this feature again?


Answer

Credit to PM_ME_2LEARNHOW2CODE from r/GooglePixel:



To autohide statusbar only, use command:



adb shell settings put global policy_control immersive.status=*


To autohide navbar only, use command:



adb shell settings put global policy_control immersive.navigation=*


To autohide both nav and status bar, use command:



adb shell settings put global policy_control immersive.full=*


To revert back to stock, just re-enter the command you did but without the *



adb shell settings put global policy_control immersive.full=


If your phone doesn't let you unlock it/freezes up when you try to unlock and you want full immersive mode run these:



adb shell settings put global policy_control immersive.full=*
adb shell settings put global policy_control immersive.full=apps,-com.google.android.googlequicksearchbox


I personally used a tweak to permanently hide my navbar and then use immersive for my status bar.


Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes