Sometimes, in the course of using an app, you'll find that you need to tweak a setting to accomplish a task. In previous versions of Android, that meant exiting the app entirely to adjust the appropriate toggles in the Settings app. Starting in Android Q, though, apps are able to surface relevant settings in floating panels.

If, for example, you're trying to do something that requires a data connection and you mobile data and Wi-Fi off (or improperly configured), you might be presented with a settings panel with connectivity options, like so:

You can read more about how settings panels work on a technical level on the Android Developers site.

Source: Android Developers