The Android local image displayed through WebView is blurred

I have a WebView to load images from the assets / folder. The image is displayed in 100% (or more) zoom and is different from the 100% definition of the real image

How do I set up WebView to display a reduced image without degrading the quality?

In addition, I use WebView because ImageView requires me to recreate smooth scrolling, click zoom, pinch zoom, etc

Insight appreciation

resolvent:

I remember that problem. WebView may automatically downsample large images, which may be due to memory problems. If you want to control the quality, you may have to use ImageView. You can also try using library applications

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>