Suppose you have an app which contains a WebView webview1 inside a LinearV linear1 . In onCreate it loads a website and onBackPressed it goes to p…