Android WebView - smoothing / changes

I am currently working on an application that requires the use of WebView. It basically takes up the entire screen space.

Initially, the images inside the WebView look beautiful and of high quality. Unfortunately, when the user picks up (and holds) the button in the web viewer, the images then lose quality and smooth until the finger is released. Is there any way to disable this?

Well, my application does not need any scrolling. I thought Android would lower the scroll quality to better performance.

+4
source share
2 answers

the only solution is to make your own image viewer, web view resells images at lower quality

0
source

I have been dealing with the same problem for a long time. The best solution is to split the image into several sub-images and load them completely into the same html file.

The easiest and fastest solution I have found is Adobe Photoshop :

  • Open image
  • Creating horizontal and vertical guides
  • Select the Slicing tool and activate “create slices from guides”
  • Save for the Internet (I do not use the English version, but you understand what I mean)
  • Choose your preferred image format
  • Save, but when saving, select the "HTML and images" checkbox

In doing so, you will avoid anti-aliasing with any image until you divide it into several parts,

0
source

All Articles