Tasneem
Tasneem

Reputation: 146

Webview scale is changed in android

I have 4 tabs at top of my application. One tab opens a Url but clicking on the link in that page hides the tabBar which is not required.

protected void onCreate(Bundle savedInstanceState) {

        super.onCreate(savedInstanceState);
        setContentView(R.layout.news);
        WebView bpBrowser=(WebView) findViewById(R.id.wvBrowser);
        bpBrowser.loadUrl("https://www.google.co.in/");         
}

For any help Thanks

Upvotes: 0

Views: 499

Answers (1)

Raghav
Raghav

Reputation: 4638

You need to override url bpBrowser.setWebViewClient(new WebViewClient()); check this link for more information about overriding back button in WebView

Upvotes: 0

Related Questions