One of Android Oreo’s best features is Picture-in-Picture mode for phones and tablets. When you press the home button while playing media (on an app that supports PiP), the video collapses to a floating window that you can move around the screen. YouTube is one of the few apps that support this feature already, but it’s only enabled if you pay for YouTube Red. Thankfully, there is a way to force PiP mode for any app that supports it, including YouTube and Google Maps.
This guide is slightly long because everything is explained in detail, not because it’s hard. This should take less than 10 minutes for everyone, and once you finish it, you won’t have to do it again (unless you re-install the Custom Navigation Bar app).
Before getting started, let’s go over what you need. Your phone or tablet has to be running Android 8.0 or higher, and you’ll need a USB cable to connect your phone/tablet to your computer. If you don’t already have the ADB command-line utility installed on your computer, you’ll have to download that first.
Even though Google now offers ADB downloads from its website, you still have to manually add it to your system path. For that reason, I still recommend using a 3rd-party ADB installer, like this one for Windows. If you’re using Mac or Ubuntu Linux, you can try the installer I made.
You’ll also need to turn on ADB Debugging, if you haven’t already. On Android Oreo, open the Settings app, tap System near the bottom, tap About Phone, and keep tapping the Build Number at the bottom until you get a popup saying you’re a developer. Once you do that, press Back, tap the new Developer Options item, and set ‘USB debugging’ to On.
If your device is rooted, you can skip installing ADB.