Google Pixel 4 XL
Android 10.0
1 Turn Wi-Fi on or off
Slide two fingers downwards starting from the top of the screen.
Press the Wi-Fi icon to turn the function on or off.
2 Return to the home screen
Slide your finger upwards starting from the bottom of the screen to return to the home screen.