3

I am using a webview inside fragment and loading html page from assets folder. My issue is when I scroll the page all images are getting blurred?

After putting some logs this is happening onTouch of webview. I am not getting how do I stop it.

I have checked it in 4.0 and 2.3 it is happening only in ICS.

Ankit
  • 1,916
  • 2
  • 20
  • 33

1 Answers1

-1

I am not sure what line of my code did it but it is working now

             mWebView.clearFocus();
         mWebView.setFocusable(false);
         mWebView.setSelected(false);
         mWebView.callOnClick();
         mWebView.getSettings().setLightTouchEnabled(false);
         mWebView.setOnTouchListener(null);
         mWebView.getSettings().setSupportZoom(false);

I have put this code in onCreateView of my fragment. mWebView is webview in my view.

Ankit
  • 1,916
  • 2
  • 20
  • 33